Execute a ROOT command from PHP
| From: | Augusto Cesar Castoldi | Date: | Wed, 17 Oct 2001 16:12:46 +0000 |
| Subject: | Execute a ROOT command from PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71353@lists.php.net to get a copy of this message | ||
Hi...
I need to execute a task (restart apache and named)
from a PHP script.
How can I do that?
I tried "system("apachectl restart")" and
'exec("apachectl restart")' but didn't worked.
thanks.,
Augusto
_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis!
http://br.geocities.yahoo.com/