2016-12-04 67 views
-1

我正在使用hostnine vps。當我設置域和上傳文件時,我注意到php代碼給出了「內部服務器錯誤」。但是html運行沒有問題。我無法在我的vps上運行php:內部服務器錯誤500

在的cPanel服務器錯誤顯示此錯誤:

[Sun Dec 04 21:06:10 2016] [error] [client 188.139.123.21] File does not exist: /home/myusername/public_html/500.shtml [Sun Dec 04 21:06:10 2016] [error] [client 188.139.123.21] SoftException in Application.cpp:608: Directory "/home/myusername/public_html" is writeable by group

瀏覽器給了我這個錯誤:

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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

+1

'chmod 755/home/myusername/public_html' – WEBjuju

+0

嘗試過但不工作:( –

+0

找到你的[php錯誤日誌](http://stackoverflow.com/questions/5127838/where-does-php-store-the -error-log-php5-apache -fastcgi-cpanel) – WEBjuju

回答

0

只有解決我所得到的是完全備份,現在工作正常。

相關問題