PHPでPermission deniedの場合、SELinuxが有効な場合がある。
そのときは下記を実行してみる。
semanage fcontext -a -t httpd_sys_rw_content_t /home/(対象ディレクトリ)
restorecon /home/(対象ディレクトリ)
PHPでPermission deniedの場合、SELinuxが有効な場合がある。
そのときは下記を実行してみる。
semanage fcontext -a -t httpd_sys_rw_content_t /home/(対象ディレクトリ)
restorecon /home/(対象ディレクトリ)