我得到這個錯誤在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