虚拟主机域名注册-常见问题 → 网络编程问题 → PHP | |||||||
Maximum execution time of 0 seconds exceeded in
nginx错误日志频繁出现Maximum execution time of 0 seconds exceeded in的错误。查看了一下php.ini文件,max_execution_time=0 ,按道理说配置为0就是不限制时间,但还是会报这样的错误。于是把限制的值都加大到1000,如下所示: ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 1000 ; Maximum execution time of each script, in seconds max_input_time = 1000 ; Maximum amount of time each script may spend parsing request data memory_limit = 512M ; Maximum amount of memory a script may consume 改完后重启php-fpm,再看错误日志,这样的错误不在出现。
|
|||||||
>> 相关文章 | |||||||
发表评论 | |||||||