致命错误:超过0秒的最大执行时间 [英] Fatal error: Maximum execution time of 0 seconds exceeded

查看:143
本文介绍了致命错误:超过0秒的最大执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的脚本比较了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆