Question about running php as root
| From: | Richard Kurth | Date: | Wed, 05 Sep 2001 22:08:41 +0000 |
| Subject: | Question about running php as root | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66116@lists.php.net to get a copy of this message | ||
I have two versions of php running on my site one as a DSO with Apache
and one as a cgi for command line scripting.
I have scripts that run from a crontab that run at root.
Now I know I can not run a script at root from PHP that is running as
A dso with Apache.
But is there a way to make one of my root scripts run by sending it a
command to do so from the DSO version of PHP like with system command
or something like that. Or some roundabout way to make it think root is
asking the script run.
I hope you understand what I am asking.
Best regards,
Richard
mailto:rkurth@pacifier.com