发布日期:2018-03-26
致命错误:超过最大执行时间30秒 (fatal error maximum execution time of 30 seconds exceeded)+ 查看更多
致命错误:超过最大执行时间30秒 (fatal error maximum execution time of 30 seconds exceeded)
+ 查看更多
发布日期:2017-04-26 14:33
分类:PHP
浏览次数:323
致命错误:超过最大执行时间30秒 (fatal error maximum execution time of 30 seconds exceeded)
我从一个在线源下载一个JSON文件,当它运行通过循环我得到这个错误:
致命错误:在第24行的C\wamp\www\temp\fetch.php中超过最大执行时间30秒
回答
你的循环可能是死循环。如果不是,你可以这样延长最大执行时间.
ini_set('max_execution_time', 300); //300 seconds = 5 minutes