suexec政策违规

时间:2012-04-23 10:07:50

标签: php hosting suexec

我在PHP上开发了一个网站并用iPage托管它。它工作正常,但今天我检查了网站,它说:

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. 

并且错误日志显示:

20120423T060239: mydomain.com/file.php suexec policy violation: see suexec log for more details 

我搜索了错误,它说要更改755的权限,但它没有用。我读了另一篇文章,它说要将目录的权限更改为644,将文件更改为765。但它也失败了。

请帮帮我。

1 个答案:

答案 0 :(得分:1)

正确的文件权限:

  • 目录755
  • php files 644