作者killme323 ()
看板PHP
标题[请益] Zend使用後台编辑permission denied
时间Wed Oct 14 14:51:14 2015
CentOS/apache
在网页後台中使用 fopen(路径, "w")
编辑/建立 档案
1.确认该层资料夹已经是 777 状态
chown apache 或 root都试过
2./etc/httpd/conf/httpd.conf 有设定了
<Directory /home/netcorp >
Options -Indexes
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
最後还是
Warning: fopen(/路径/xxx.log): failed to open stream: Permission denied in
OOO.php
google的结果千篇一律是 chmod 777..少数改conf
但是都没用..
###最後改动该路径的上一层主资料夹为777解除问题
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 202.39.33.108
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/PHP/M.1444805477.A.859.html
应要求删除推文
※ 编辑: killme323 (202.39.33.108), 10/14/2015 18:21:30