Re: Unix-Apache: running apache as different user

From: Date: Tue, 27 Jan 2004 16:53:35 +0000
Subject: Re: Unix-Apache: running apache as different user
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175945@lists.php.net to get a copy of this message
Eli Hen wrote:
Hello All, 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? What version of Apache you are using? If you are using Apache 2, the answer is no, while for Apache 1.3, yes, you just need to add suitable user directive for each vhost. Hope this helps.
Best Bao
thanks in advnce, -Lorderon


« previous php.general (#175945) next »