1. These commands are helpful when your host runs suPHP and requires that files have a permission of 644 and folder of 755.

      Set file permissions to 644 recursively:

      find /path/to/apache -type f -print0 | xargs -I {} -0 chmod 0644 {}

      Set folder permissions to 755 recursively:

      find /path/to/apache -type d -print0 | xargs -I {} -0 chmod 0755 {}