致命错误:超过0秒的最大执行时间 [英] Fatal error: Maximum execution time of 0 seconds exceeded
问题描述
我的脚本比较了2个源树,创建了可能更改文件的映射,比较了MD5哈希并创建了一个diff-package.
My script compares 2 source trees, creates a map of possible changed files, compares MD5 hashes and creates a diff-package.
在28000-29000个文件之后,PHP终止脚本,并显示错误:
After 28000-29000 files, PHP terminates the script with error:
致命错误:第67行(标准in_array()调用)在/root/_PACKER-TESTER/core/diff.class.php中超过了0秒的最大执行时间
Fatal error: Maximum execution time of 0 seconds exceeded in /root/_PACKER-TESTER/core/diff.class.php on line 67 (standard in_array() call)
我已经尝试将max_input_time
设置为高值(或零)-什么都没有.
I already tried to set max_input_time
to high value (or zero) - nothing.
将max_execution_time
设置为99999999999999不会执行任何操作....相同的错误.
Setting max_execution_time
to 99999999999999 do nothing .... the same error.
推荐答案
问题已解决,使用litespeed api (lsapi)
构建的php
具有额外的env
变量来确定 max 的执行时间-LSAPI_MAX_PROCESS_TIME
(默认为300秒).
Problem solved, php
build with litespeed api (lsapi)
has extra env
variable to determine max execute time - LSAPI_MAX_PROCESS_TIME
(default is 300sec).
这篇关于致命错误:超过0秒的最大执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!