I do not think it is a very wise idea to give any type of root access to
your php scripts. This is a disaster waiting to happen. You can accomplish
the same thing by having your php scripts manipulate template files, which
are exact copies of the files you want to edit. Then have a root cron job
Sent: Wednesday, January 16, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: using PHP as ROOT
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&quo
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
<[EMAIL PROTECTED]> wrot
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
> anythin