Re: PHP question
| From: | Sean Burlington | Date: | Tue, 17 Dec 2002 23:25:14 +0000 |
| Subject: | Re: PHP question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128630@lists.php.net to get a copy of this message | ||
1LT John W. Holmes wrote:
coments valid for apache/linux if you run the module all the php scripts run as the user/group set in apache conf if you run in cgi mode you can set a different user/group for each virtual host (running php in cgi mode is slower) for security scripts should be run as a user with few system priveleges (ie the apache user) -- SeanAre PHP script supposed to run as the user or as the web server? Currently I'm running Red Hat 7.3 with apache 1.3.x and all my PHP scripts run as apache, not as the user. I'm wonder if I can run the scripts as the user and how do I fix this?As a module, that's the way it is. I think you can install it as a CGI and it'll run as the user.