Re: Howto Execute PHP as script owner/group without CGI?
| From: | Mathijs | Date: | Wed, 22 Mar 2006 09:03:48 +0000 |
| Subject: | Re: Howto Execute PHP as script owner/group without CGI? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232397@lists.php.net to get a copy of this message | ||
chris smith wrote:
That i know, But isn't there something like suexec or something for the apache module of php5 to let it execute as another user?I Want to know if it is possible to execute PHP(5) as the owner/group of the script it self. At the moment saved files get owner and group nobody. When i upload through ftp, it gets the normal owner and group nobody. Is there a way that i can set both owner and group to 'myuser-groupname', and let apache or php execute it with that owner/group?No. Only the 'root' user can change user/group. -- Postgresql & php tutorials http://www.designmagick.com/