Changing files and folders so they are accessable by user and apache as well
Follow the commands below to change files and folders so they are accessible to users and the apache group as well by adding the user to the apache group and assigning full read, write, execute privileges to user and apache group.
cd /var/www
find . -type d | xargs chmod 775
find . -type f | xargs chmod [...]
"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke