09 Sep 2010
Support Center
»
VodaHost Knowledgebase
»
What userid does my PHP scripts run under?
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
VodaHost Knowledgebase
VodaHost Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
What userid does my PHP scripts run under?
Solution
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.
Article Details
Article ID:
42
Created On:
10 Oct 2005 01:29 PM
Back
Home
|
Register
|
Contact VodaHost Support
|
VodaHost Knowledgebase
|
Troubleshooter
|
News
|
VodaHost Downloads
Language:
English (U.S.)
Powered By VodaHost