我在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
。但它也失败了。
请帮助我。
正确的文件权限:
- 目录 755
- PHP 文件 644