Lately I had to change permissions for a lot of files at once. When working on the shell this can be quickly done using the linux find command.

If you want to adjust permissions on all php files, you can do :

Some more info for the find command at Linux Manual