For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > January 2005 > Re: [PHP-INSTALL] php under user permissions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] php under user permissions
Chris Hewitt

2005-01-30, 8:55 am

On Sat, 2005-01-29 at 23:41, Marian wrote:
>
>
> I’m posting this again.
>
>
> ________________________________________
______________________________
>
> From: Marian [mailto:smarian@rdslink.ro]
> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com