Re: Unix-Apache: running apache as different user
| From: | Lorderon | Date: | Wed, 28 Jan 2004 14:11:59 +0000 |
| Subject: | Re: Unix-Apache: running apache as different user | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176040@lists.php.net to get a copy of this message | ||
"Mike Migurski" <mike@saturn5.com> wrote in message
news:Pine.GSO.4.52.0401271049180.28783@atari...
> >I have PHP installed on Apache and Unix with several vhosts so each vhost
> >has its own user account on Unix. Now when accessing a webpage, Apache
> >runs with user httpd.. but I want it to run as the user of the vhost
> >account.. How can I do that?
>
> http://httpd.apache.org/docs/suexec.html
>
The SuEXEC is not good for my purpose, since I want to run PHP as Apache
Module (and not CGI).
I'm using Apache 1.3... does the User / Group directives change the
user/group in case I use Apache Module for PHP?
Also, I read about the AssignUserID directive, but couldn't figure out if it
affects Apache Module or only CGI module for PHP?
thanks in advance
-Lorderon