SELinux 상태에서 httpd 가 fopen 시
PHP Warning: fopen(~~): failed to open stream: Permission denied
이런 오류를 발생시키는 경우
chcon -t httpd_sys_rw_content_t /path/to/file
이걸 실행해주면 된다.
SELinux 상태에서 httpd 가 fopen 시
PHP Warning: fopen(~~): failed to open stream: Permission denied
chcon -t httpd_sys_rw_content_t /path/to/file
이걸 실행해주면 된다.