[请益] Zend使用后台编辑permission denied

楼主: killme323   2015-10-14 14:51:14
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解除问题

Links booklink

Contact Us: admin [ a t ] ucptt.com