Knowledgebase: Information On PHP
What userid does my PHP scripts run under?
Posted by Roy Petersen on Feb-15-2007 12:16 PM

Your PHP scripts will run under the same userid as the owner of the account. This means that permissions should not exceed 644 on PHP files, and directories don't need more than 755 in order to be able to save (write) files generated via PHP.