CentOS 7 + SELinux + Apache + PHP write/access permission

CentOS 7 have SELinux, it is security enhancement to Linux which allows users more control over access control. SELinux make problem to access or write files or directories – Can’t serve files on directory – Can’t write to file SELinux is blocking the read/write operations # chcon -Rv –type=httpd_sys_rw_content_t /var/www/html/ (if you want to allow … Read more