Re: [PHP] a question about user and permission on linux

2010-11-01 Thread Daniel P. Brown
On Sun, Oct 31, 2010 at 13:50, Ryan Sun wrote: > which user it is executed as when request a php script on browser?(suppose > we are on a shared LAMP hosting) Find out: -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ --

Re: [PHP] a question about user and permission on linux

2010-10-31 Thread a...@ashleysheridan.co.uk
There isn't a php user. If php scripts are executed through the web server, they belong to the server. If they are cli scripts, then they belong to the user that executed them, or the user the process that executed them is running as. Thanks, Ash http://www.ashleysheridan.co.uk - Reply mes

Re: [PHP] a question about user and permission on linux

2010-10-31 Thread a...@ashleysheridan.co.uk
If its Apache on Linux (as most hosting will be) then the user will generally be either apache, www, or http. Thanks, Ash http://www.ashleysheridan.co.uk