Re: PHP UserID ?
| From: | Andrew Hutchings | Date: | Thu, 01 Mar 2007 12:01:26 +0000 |
| Subject: | Re: PHP UserID ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28193@lists.php.net to get a copy of this message | ||
Andreas Prüßmann wrote:
> Hello,
>
> i´am using an SLES 10.1 Server with an Apache 2.2.
> There´s PHP 5 installed. When i do an dir -o on the php executable, i can
> see that php belongs to root.
> My questtion is ...
> Do PHP run as user root ?
If you are using Apache and PHP as a module then it will run as the same
user as Apache. If you use suPHP then it runs as the same user as the
script being executed.
Regards
Andrew
--
Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/
A-Wing Internet Services - http://www.a-wing.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen.
Blue Screen leads to downtime. Downtime leads to suffering...I sense
much Windows in you.