加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – suexec政策违规

发布时间:2020-12-13 22:43:40 所属栏目:PHP教程 来源:网络整理
导读:我在 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
我在 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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读