2012-03-02 85 views
1

你好我最近採取的我的服務器文件&從服務器....我的服務器不運行PHP文件。給我的錯誤

現在刪除了我的所有文件的備份,當我重新上傳在服務器上我的文件,HTML文件做的工作,但PHP文件做不行。

我使用的文件的index.php,當我上傳這個文件被生成以下錯誤: -

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to 
complete your request. 
Please contact the server administrator, [email protected] and inform them of 
the time the error occurred, and anything you might have done that may have caused the 
error. 

More information about this error may be available in the server error log. 

Additionally, a 500 Internal Server Error error was encountered while trying to use an 
ErrorDocument to handle the request. 

,之前,我有我的服務器上的這些文件夾我的網站文件一起: -

  1. 的cgi-bin
  2. CP
  3. modlogan

此外,我再次上傳這些文件夾,但仍然PHP文件不起作用。

+5

我認爲消息的重要組成部分,是'這個錯誤的詳細信息可能在服務器錯誤日誌中可用。「,您應該在那裏查看有關錯誤的詳細信息。 – 2012-03-02 06:00:46

+0

檢查Apache'error_log',看看它爲什麼會失敗,有時你可以在httpd或apache(2)下的'/ etc'或'/ usr/local'或'/ var'中找到它。 – drew010 2012-03-02 06:01:00

+0

你得到的錯誤是非常通用的。這可能是PHP工作正常,並且在該特定文件中只有一個錯誤。你可以在這裏發佈index.php的PHP代碼嗎? 如果你能夠查看你的服務器的錯誤日誌,你也可以在那裏查看是否有更具體的消息。 – octern 2012-03-02 06:01:23

回答

0

其實,我問我的服務器管理員,他重新安裝了一切....感謝您的時間和精力....

0

正確confirgured如果一遍又一遍看到了這個錯誤,總是指的是不支持的CONFIGS上.htaccess文件。

請檢查它們。

相關問題