php 服务器部署 500错误

在空间部署php环境的时候,出现了500错误,这应该是很头疼的一个错误,我用的是cPanel,在控制面板里面查看错误日志,

Fri Jan 11 10:45:21 2013] [error] [client 173.255.246.10] File does not exist: /home/wownepie/public_html/500.shtml
[Fri Jan 11 10:45:21 2013] [error] [client 211.157.165.186] SoftException in Application.cpp:256: File "/home/wownepie/public_html/dream/index.php" is writeable by group

导致这种错误产生的原因是,我把文件夹的权限设置为了777,而出现了[Fri Jan 11 10:45:21 2013] [error] [client 211.157.165.186] SoftException in Application.cpp:256: File "/home/wownepie/public_html/dream/index.php" is writeable by group,改成755就可以了,

同时数据库配置,语法等错误也有可能导致500错误发生

你可能感兴趣的:(PHP)