Command to fix permissions for SUPHP

#Fix permissions on folder. Correct should be 755
find /webfolder -type d -exec chmod 755 {} \;
#Fix permissions on php files. Must be 644
find webfolder -name '*.php' -o -name '*.php[345]' -o -name '*.phtml'| xargs chmod -v 644