Re: Howto Execute PHP as script owner/group without CGI?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/22/06, Mathijs <m.v.veluw@xxxxxxxxxx> wrote:
> chris smith 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?
> >
> > No. Only the 'root' user can change user/group.
> >
> > --
> > Postgresql & php tutorials
> > http://www.designmagick.com/
>
> 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?

Some hosts let you compile your own cgi version to use instead of the
main module and run everything through that instead of the apache
module.. not sure if that's an option for you.

What problem are you trying to solve exactly?

--
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux