【发布时间】:2015-03-07 13:53:03
【问题描述】:
如下所述,我遇到了 2 个错误。
[Fri Jan 09 04:10:23 2015] [warn] [client 188.165.15.22] mod_fcgid:读取数据超时 31 秒 [Fri Jan 09 04:10:23 2015] [error] [client 188.165.15.22] 脚本头过早结束:index.php
我也检查了这个Premature end of script headers: index.php, mod_fcgid: read data timeout in 61 seconds。但是我没有像 /etc/httpd/conf.d/fcgid.conf 这样的文件可以编辑。
有人知道吗?
我认为 php 脚本可能没有任何问题,因为它在过去 1 年中一直运行良好。现在它突然停止工作了。
我的 Apache 版本是 2.2.22,PHP 版本是 5.3.10-1ubuntu3.13
fcgid.conf 的内容:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
FcgidConnectTimeout 20
FcgidIOTimeout 2000
</IfModule>
【问题讨论】:
-
您在哪个版本的 Apache 上运行它?
-
@HansZ。我已经用 apache 和平台信息编辑了我的问题。