You can use suPHP+php5-cgi instead of PHP5mod. With suPHP the php scripts are running under the owner of the web and not under the global apache user on your Linux system. With suPHP enabled, you can define any chmod setting you like, so there will be no permision problems. I do not recommend to use chmod 777 as it is not safe!
| Master in managed hosting