我不断收到此PHP的错误:致命错误:300秒最长执行时间超过
Fatal error: Maximum execution time of 300 seconds exceeded
我曾尝试在php.ini中设置我的max_execution_time
和我max_input_time
设置(Apache和CLI)来0
,各为-1
和4000
秒。
,我仍然得到错误说:
Fatal error: Maximum execution time of 300 seconds exceeded
除了我的脚本运行超过300秒钟,然后我得到这个消息
我正在通过命令行脚本。
我也检查了我的phpinfo()
,所以看看我正在使用哪个php.ini
。
更有趣的我已经尝试设置max_execution_time
和max_input_time
设置至5秒,我的脚本将运行方式超出了前5秒我得到:
Fatal error: Maximum execution time of 300 seconds exceeded
什么样的服务器设置是否在? –
最好的解决方案[这里](http://www.steptoinstall.com/fatal-error-maximum-execution-time-30-seconds-exceeded-wordpress.html)... – KarSho
这是如此奇怪我有同样的问题apache 2.4.18和php 7 ...使用PHPMyAdmin导入sql .. phpinfo();报告不同的时间..将尝试ini设置我猜:( –