On Thu, 2002-02-21 at 10:44, Dave wrote:
> Apache server with PHP module
> Apache user is nobody:nobody
> Virtual user is user1:user1
> Ideas or suggestions appreciated.
Well, this isn't really a PHP issue, but what the hell. If you need to
do filesystem stuff as a certain user, the Apache module just ain't
gonna do it for you. It'll always run as the httpd user. So you could
very carefully set up directory permissions so that httpd has access to
do what it needs, or you could just compile the CGI version of PHP and
use it for the pages which need to do these uid/gid-related operations.
(If used with something like suExec you can get it to act as any user
you want.) The second option is probably the safest.
Torben Wilson <[EMAIL PROTECTED]>
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php