php执行超时时间设置
1、在php.ini文件中找到“max_execution_time”配置项,修改对应的值即可;
打开php.ini文件,找到:
max_execution_time=30
修改为:
max_execution_time=600
2、通过php内置函数“ini_set”来修改“max_execution_time”配置项即可;
<?php ini_set('max_execution_time', 600);//秒为单位,自己根据需要定义
以上就是php执行超时时间设置的详细内容,更多请关注Gxlcms其它相关文章!
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did55709