What server software? How is the server configured, ie., does it run under a select user account? Does the server run PHP under a different user? The questions go on. We need to know the details to give correct advice. But basically, You would need to add permissions to the ACLs allowing for whatever it is you need under the account PHP is running under.