2016-12-04 69 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

只有解决我所得到的是完全备份,现在工作正常。

相关问题