That should beBefore moving, I would advise running "find /home -name '*php" -perm 777" to see what will no longer execute. You can add "| xargs chmod 755" to the end of this command to automatically change these, but this is not always advised.
Code:
find /home -name '*php' -perm 777