编程语言
首页 > 编程语言> > php – suexec政策违规

php – 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.但它也失败了.

请帮我.

解决方法:

正确的文件权限:

>目录755
> php文件644

标签:php,hosting,suexec
来源: https://codeday.me/bug/20190709/1415637.html