连接重置由对等:mod_fcgid:从FastCGI的服务器读取数据时出错 [英] Connection reset by peer: mod_fcgid: error reading data from FastCGI server

查看:1178
本文介绍了连接重置由对等:mod_fcgid:从FastCGI的服务器读取数据时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对PHP有问题,即我的应用程序正在试图运行PHP的备份文件,突然收到HTTP错误500 code。我检查了日志,这是什么话。

I am having issue on PHP where my app is trying to run a php backup file and suddenly getting HTTP Error 500 Code. I have checked the logs and this what it saying.

[星期二8月28日14时17分28秒2012] [提醒] [客户端XXXX](104)连接被对方​​复位:mod_fcgid:从FastCGI的服务器错误读取数据,引用者:的 http://example.com/backup/backup.php 结果
  [星期二8月28日14点17分28秒2012] [错误] [客户端XXXX] premature脚本标题的末尾:backup.php,引用者:的 http://example.com/backup/backup.php

[Tue Aug 28 14:17:28 2012] [warn] [client x.x.x.x] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://example.com/backup/backup.php
[Tue Aug 28 14:17:28 2012] [error] [client x.x.x.x] Premature end of script headers: backup.php, referer: http://example.com/backup/backup.php

任何人知道如何解决这一问题?我真的卡在这里,无法找到在互联网解决方案。

Anyone knows how to fix this? I'm really stuck in here and can't find solution in internet.

希望任何人都可以分享他们的知识。

Hope anyone could share their knowledge.

感谢。
詹姆斯

Thanks. James

推荐答案

我设法解决这个加入 FcgidBusyTimeout 。以防万一,如果有人有类似的问题在我身边。

I managed to solved this by adding FcgidBusyTimeout . Just in case if anyone have similar issue with me.

下面是我对我的apache.conf设置:

Here is my settings on my apache.conf:

<VirtualHost *:80>
.......
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>

这篇关于连接重置由对等:mod_fcgid:从FastCGI的服务器读取数据时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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