我得到这个错误在PHP(Drupal的)应用程序:FastCGI:与服务器通信是什么意思?
(104)Connection reset by peer: FastCGI: comm with server "/opt/php-5.2.5/bin/php-cgi" aborted: read failed
它经常跟此错误:
FastCGI: incomplete headers (0 bytes) received from server "/opt/php-5.2.5/bin/php-cgi"
PHP的基本Apache的配置是这样的:
FastCgiServer /opt/php-5.2.5/bin/php-cgi -initial-env PHP_FCGI_CHILDREN=32
ScriptAlias /fcgi-bin/php-5.2.5 /opt/php-5.2.5/bin/php-cgi
<Location /fcgi-bin/php-5.2.5>
Options +ExecCGI
SetHandler fastcgi-script
SetOutputFilter INCLUDES
</Location>
# send php5.2-fastcgi handler to our scriptalias
Action php-5.2.5-fastcgi /fcgi-bin/php-5.2.5
现在,我的基本问题是,什么是的“通讯与服务器”的错误一般的原因是什么?在这种特殊情况下,错误会间歇出现,但某些页面会比其他页面更频繁地生成错误。我想知道在调试代码时要查找什么。
您链接到的论坛不再可用。 – 2010-05-24 17:06:41