On Sat, 2005-01-29 at 23:41, Marian wrote: > > > I’m posting this again. > > > ______________________________________________________________________ > > From: Marian [mailto:[EMAIL PROTECTED] > Sent: Friday, January 28, 2005 02:15 > To: 'php-install@lists.php.net' > Subject: > > > > > Hello all. > > > > I need apache/php run under user’s permissions, for example if i type > http://xx.yy.zz/~user1, then i want apache/php run under uid of user1. > How can this be done? > > > > Thanks, > > Marian
Apache httpd runs as a single user. If on unix and using CGI then the setuid feature may be of interest (http://httpd.apache.org/docs-2.0/suexec.html). For PHP, using "safe mode" (http://www.php.net/manual/en/features.safe-mode.php) is probably what you need. Hope this helps Chris