最新下载
热门教程
- 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 '
}
?>
相关文章
- 原神旧日之海鳗鱼宝箱怎么找 04-27
- 崩坏星穹铁道2.2前瞻兑换码 04-27
- 崩坏星穹铁道2.2直播兑换码 04-27
- 碧蓝航线偶像兵装三期活动皮肤性价比怎么样 04-27
- 蟹蟹寻宝奇遇修改器在哪下载 04-27
- 阴阳师网易云音乐联动茨茨音游记活动怎么玩 04-27