2013-04-11 117 views
0

在我的服務器中訪問PHP文件時,它會阻止執行PHP文件。圖像和文本文件等可以瀏覽。當我嘗試瀏覽PHP文件它提供了以下錯誤:無法在我的服務器上執行PHP文件

The server encountered an unexpected condition which prevented it from fulfilling the request. The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

.htaccess文件是空的,我可以訪問的cPanel,但不知道什麼是錯。

+0

絕對是的,我試過了。 – 2013-04-11 11:54:28

+0

我在錯誤日誌中發現了這一行,但不知道這是什麼意思:suexec策略違規:請參閱suexec日誌以獲取更多詳細信息 – 2013-04-11 12:03:14

回答

2

將您的php文件權限更改爲775.

+0

已經是777 – 2013-04-11 12:07:08

+0

現在工作了,非常感謝 – 2013-04-11 12:08:29

相關問題