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




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to