Re: Howto Execute PHP as script owner/group without CGI?
| From: | Richard Lynch | Date: | Fri, 24 Mar 2006 02:08:47 +0000 |
| Subject: | Re: Howto Execute PHP as script owner/group without CGI? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232505@lists.php.net to get a copy of this message | ||
On Wed, March 22, 2006 1:21 am, Mathijs wrote:
> 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?
>
> I can't use an CGI solution, this becouse the host can't/won't change
> this.
But it's unlikely the host will implement any of the other options
either...
http://www.php.net/manual/en/security.apache.php
--
Like Music?
http://l-i-e.com/artists.htm