2011-12-03 63 views
2

我的WordPress是行爲異常,之後我改變了PHP的處理程序FCGIFastCGI配置錯誤 - 上傳和圖像處理失敗

[Sat Dec 03 02:13:06 2011] [warn] [client 66.249.72.226] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server 
[Sat Dec 03 02:13:06 2011] [error] [client 66.249.72.226] Premature end of script headers: index.php 
[Sat Dec 03 02:18:11 2011] [warn] [client 94.139.59.97] mod_fcgid: read data timeout in 40 seconds, referer: http://www.domain.com/wp-admin/upload.php 
[Sat Dec 03 02:18:11 2011] [error] [client 94.139.59.97] Premature end of script headers: admin.php, referer: http://www.domain.com/wp-admin/upload.php 
[Sat Dec 03 02:18:18 2011] [warn] mod_fcgid: process 24965 graceful kill fail, sending SIGKILL 

我怎樣才能解決這個問題?我通過cPanel改變了php-handler,並將php升級到了5.3.8。

+0

我有同樣的錯誤,你找到一種方法來解決這個問題嗎? – mike23

+0

我重新安裝了PHP編譯的Apache。 – pixeline

回答

0

您需要玩您的FCGI設置才能解決這個問題。這通常說明fcgi腳本速度過快。 查看http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html瞭解更多信息。一開始你可以使用:

 
FcgidMinProcessesPerClass 0 
FcgidMaxProcessesPerClass 8 
FcgidMaxProcesses 150 
FcgidIdleTimeout 60 
FcgidProcessLifeTime 120 
FcgidIdleScanInterval 30