2013-03-20 115 views
0

當我的編碼出現分析錯誤時,我收到500錯誤消息。 HTTP錯誤500(內部服務器錯誤):服務器試圖完成請求時遇到意外情況。500服務器錯誤,而不是顯示解析錯誤

主機服務:bluehost。

我想看到錯誤而不是500服務器錯誤。

此外,我正在使用wordpress運行我的網站。

我們該怎麼做?

我也讀過以下文章,但沒有得到任何東西。 How can I make PHP display the error instead of giving me 500 Internal Server Error PHP - 500 instead of error

+0

當您在配置中有任何錯誤而不是任何編碼錯誤時,會出現500服務器錯誤。 – 2013-03-20 10:39:23

+0

請按照這個問題中的最佳答案: http://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error – m8rge 2013-03-20 10:40:18

+0

@DeadMan不一定。當我有時在本地建立我公司的一個站點時,我得到了大量的500個,並且它們最終都是PHP錯誤 – Bojangles 2013-03-20 16:03:02

回答

0

檢查cPanel菜單中的Error Log。它將包含所有的細節。