看板 PHP 關於我們 聯絡資訊
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://www.ptt.cc/bbs/PHP/M.1444805477.A.859.html 應要求刪除推文 ※ 編輯: killme323 (202.39.33.108), 10/14/2015 18:21:30