Change the way, PHP checks for file and directory permissions - files must not be writeable, directories have to be writeable, i.e. chmod(77x) or chmod (75x)