# make sure all files and folders are accisble by Apache
-find . -type d -exec chmod 755 {} \;
-#find . -type f -exec chmod 644 {} \;
+sudo find /home -type d -exec chmod 755 {} \;
+sudo find . -type f -name "*.php" -exec chmod 644 {} \;
# set up Apache for php-fpm
# @see https://github.com/travis-ci/travis-ci.github.com/blob/master/docs/user/languages/php.md#apache--php