PHP支持目前设置为:作为快速CGI运行.
我一直在服务器日志中收到这些错误:
mod_fcgid: read data timeout in 45 seconds
Premature end of script headers: index.PHP
应该快速修复我想,但我找不到要编辑的文件.这是我可以从Plesk改变的东西.
有谁知道如何增加超时?
Parallels员工在Plesk论坛上提供的解决方案
原文链接:https://www.f2er.com/php/137199.htmlEdit the file:
/etc/httpd/conf.d/fcgid.conf
Specifically,change
FcgidioTimeout 45
to
FcgidioTimeout 3600
3600 seconds = 1 hour. Should be long enough for most but adjust
upwards if required. I saw one example quoting 7200 seconds in there.Finally,restart Apache to make the new setting active.
apachectl graceful
希望能帮助到你
[R