What userid does my PHP scripts run under?

Your PHP scripts will run under the same userid as the webserver (Apache), which is "nobody". Therefore, since your PHP scripts do not run under your userid, you must take this into consideration when you are trying to create, edit, or modify files with your PHP scripts.

Secondly, PHP scripts run under the group "nobody" as well. All clients are in the group "cust". Therefore, in order to allow PHP to create, modify, and/or delete files within your account, you would need to have world read/write permission on the files and within the directories where the files will be created.

  • 52 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Related Articles

I get either Error 403 Forbidden or Error 404 Not Found. What is wrong?

Either of the two things happened: you deleted your /public_html/ directory [Linux Server] or...

Where should I upload my files?

If you are Linux Server, please upload all your files under public_html directory (your root...

Domain asking user/pass?

Please raise a support ticket regarding this.

Do you have mod_rewrite enabled on your servers?

Yes, mod_rewrite is enabled on all servers.

How do I create, edit & delete tables in my MySQL database?

All administration of your mySQL databases can be done through our convenient web based...