最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php ini_set更改php.ini配置功能
时间:2022-06-24 20:19:03 编辑:袖梨 来源:一聚教程网
//ini_set具有更改php.ini设置的功能。此函数接收两个参数:需要调整的配置变量名,以及变量的新值。
//例如,在某脚本出现时增加最大执行时间(maximum execution time):
$old_max_execution_time = ini_set('max_execution_time', 120);
echo "old timeout is $old_max_execution_time
";
$max_execution_time = ini_get('max_execution_time');
echo "new timeout is $max_execution_time
";
echo 'function sets supported in this install are:
';
$extensions = get_loaded_extensions();
foreach ($extensions as $each_ext)
{
echo "$each_ext
";
echo '
- ';
- $func ";
$ext_funcs = get_extension_funcs($each_ext);
foreach($ext_funcs as $func)
{
echo "
}
echo '
}
?>
相关文章
- 歪歪漫画免费版入口在哪-2026最新网页版地址链接与网址分享 04-30
- 如何更换搜狗拼音输入法皮肤 04-30
- Deepseek极速下载-Deepseek中文版下载 04-30
- 蚂蚁新村2026年4月29日题目答案 04-30
- 夸克网盘怎么设置开机自启动 04-30
- 《Resident Evil Requiem》中有一个我们可能永远也见不到的完整章节 04-30