php执行超时时间设置
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执行超时时间设置的详细内容,更多请关注jquery中文网其它相关文章!
您可能感兴趣的文章:
php执行超时时间设置
php curl超时设置详解
php 30秒超时限制怎么解决
php运行超时采取分步执行的简单方法
解决php运行超时的方法
PHP程序时出现 Fatal error: Maximum execution time of 30 seconds exceeded in 提示
PHP如何为函数执行设置超时
PHP如何设置页面最大执行时间
php程序执行超时解决办法(Fatal error: Maximum execution time of 30)
php定时计划任务 ignore_user_abort的用法举例