脚本在60分钟后停止 [英] Script halts after 60 minutes
本文介绍了脚本在60分钟后停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
致命错误:z:\ home
超过3600秒的最长执行时间第138行
\ localhost \\\ somefile.php
php.ini设置修复默认的最大执行时间为30秒,
在脚本本身我有set_time_limit(0);
我也试过set_time_limit(90000 );没有运气。
检查php是否在安全模式下运行,并且它不是。
还有其他原因吗会导致这种行为吗?
谢谢!
mvh
MK
Fatal error: Maximum execution time of 3600 seconds exceeded in z:\home
\localhost\www\somefile.php on line 138
php.ini setting fixes default max execution time at 30 sec,
In the script itself I have set_time_limit(0);
I have also tried set_time_limit(90000); with no luck.
Checked if php was running in safe mode, and it wasn''t.
Are there any other reasons that can cause this behavior?
Thanks!
mvh
MK
推荐答案
而且,一个有趣的事情,我认为它总是停在同一行,
看起来像这样:
And, a funny thing I think it always halts at the same line, which
looks like this:
string_2 = file_get_contents(
string_2 = file_get_contents(
string_1);
string_1);
这篇关于脚本在60分钟后停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文