Re: using PHP as ROOT
| From: | Robert Abbate | Date: | Wed, 16 Jan 2002 18:44:19 +0000 |
| Subject: | Re: using PHP as ROOT | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5598@lists.php.net to get a copy of this message | ||
Hi. Many things. I am trying to create a web hosting control panel, so I'll
need to be able to update Zone files, add email accounts, etc. All of which
require the user to be "root" How can php do this? How do I get the scripts
to be able to have root permissions?
Robert
<EdwardSPL@ita.org.mo> wrote in message
news:<3C456EFC.FA22A471@ita.org.mo>...
> Robert Abbate wrote:
> >
> > Hi. I am trying to have PHP do things as a ROOT user. Like: make files,
> > change permissions of files etc...
> >
> > however, I cannot do it! Even if I give the php scripts root ownership,
it
> > still says that apache is the owner of the files, and hence, I can't do
> > anything with them.
> >
> > Does anyone have any insight?
> >
> > Thanks,
> > Robert A
>
> Hello,
>
> What thing do you want to do ?
>
> Edward.
<EdwardSPL@ita.org.mo> wrote in message news:3C456EFC.FA22A471@ita.org.mo...
> Robert Abbate wrote:
> >
> > Hi. I am trying to have PHP do things as a ROOT user. Like: make files,
> > change permissions of files etc...
> >
> > however, I cannot do it! Even if I give the php scripts root ownership,
it
> > still says that apache is the owner of the files, and hence, I can't do
> > anything with them.
> >
> > Does anyone have any insight?
> >
> > Thanks,
> > Robert A
>
> Hello,
>
> What thing do you want to do ?
>
> Edward.