Directories must have execute permissions to be usable; Usually this is 0755. PHP scripts run via mod_php are not executed but rather read; 0644 will suffice for this.