將 PHP 更新到 5.4 後,Wordpress 將無法載入,並出現 FastCGI 錯誤 (Windows)

將 PHP 更新到 5.4 後,Wordpress 將無法載入,並出現 FastCGI 錯誤 (Windows)

我在嘗試開始開發新網站時遇到很多問題。我們有一個在 Windows 上運行的外部主機(我們的客戶端已經在根目錄上有一個網站 - 我們最終無法控制伺服器環境)。我透過 FTP 安裝了 Wordpress 並安裝了資料庫,一切都很好並且工作正常,但是網站真的很慢,我試圖安裝模板,但收到一些錯誤,表明伺服器容量不足。所以我使用 php.ini 來「升級」一些設置,例如記憶體限制、執行時間等。

然而,我無法安裝一些插件,而且開發速度真的很慢......在某些時候,Wordpress 警告我伺服器正在運行 PHP 5.2,我應該更新它(當然)。不幸的是,正如我所說,我們正在使用外部主機及其係統和儀表板,並且我必須使用該儀表板,因此主機會自動處理更新。再說一次,我無法控制環境。

當我嘗試更新它時(我嘗試了幾次,更新到版本 5.4、5.5 和 5.6),Wordpress 完全停止加載、每個頁面和訪問,並且顯示 IIS 錯誤...我將貼上這些錯誤中的一些文本以下:

HTTP Error 500.0 - Internal Server Error

c:\php56\php-cgi.exe - The FastCGI process exited unexpectedly

Detailed Error Information:
Module     FastCgiModule
Notification       ExecuteRequestHandler
Handler    PHP-FastCGI
Error Code     0xc0000005
Requested URL      http://www.agiltecnet.com.br:80/novositesmall/wp-admin/index.php
Physical Path      E:\home\agiltecnet\agiltecnet.com.br\web\novositesmall\wp-admin\index.php
Logon Method       Anonymous
Logon User     Anonymous

在獲得主機技術人員的支援後,它開始顯示此錯誤:

HTTP Error 500.0 - Internal Server Error

<handler> scriptProcessor could not be found in <fastCGI> application configuration

Detailed Error Information:
Module     FastCgiModule
Notification       ExecuteRequestHandler
Handler    PHP-FastCGI
Error Code     0x80070585
Requested URL      http://www.agiltecnet.com.br:80/novositesmall/wp-admin/index.php
Physical Path      E:\home\agiltecnet\agiltecnet.com.br\web\novositesmall\wp-admin\index.php
Logon Method       Anonymous
Logon User     Anonymous

有人可以解釋一下嗎?

相關內容