This worked for me: Find out what user is running apache: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 (the user is most likely www-data. It may also be: apache or httpd) sudo chown -R yourusername:www-data ./opensis sudo chmod -R g+rw ./opensis https://unix.stackexchange.com/questions/35711/giving-php-permission-to-write-to-files-and-folders
This worked for me: Find out what user is running apache: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 (the user is most likely www-data. It may also be: apache or httpd) chown -R yourusername:www-data ./opensis chmod -R g+rw ./opensis https://unix.stackexchange.com/questions/35711/giving-php-permission-to-write-to-files-and-folders
The broken link is here: https://web.archive.org/web/20210514095604/http://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/
goto www.github.com/OS4ED for the current version.
goto github.com/os4ed and ask there.