Ok try chmoding the config.php files to 755

php as Cgi is a good thing,
it eliminates the need to have files or folders set to 777
it also allows you to block sending email as nobody.....