Executing command in Linux
| From: | Rosen | Date: | Sat, 15 Jan 2005 17:57:34 +0000 |
| Subject: | Executing command in Linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206436@lists.php.net to get a copy of this message | ||
Hi,
I have this problem:
Linux Red Hat 7.3 server and PHP 4.3.8 & MySQL 4. When I Try to execute
linux command - nothing happens and in Apache logs I see "Access denied".
This is about permissions in executing this command.
My question is can I execute a linux command via PHP ( this is command
allowed only for root user ) ?
P.S. I own this server - i.e. I have user & pass for root.
Thanks in advance!
Rosen