note 74261 rejected from function.exec by nlopess
| From: | nlopess@php.net | Date: | Mon, 02 Apr 2007 14:52:54 +0000 |
| Subject: | note 74261 rejected from function.exec by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125017@lists.php.net to get a copy of this message | ||
Note Submitter: phdangkhoi at yahoo dot com
----
How can i use PHP to config my Linux system? I want to use with user is root, but when i do "
echo exec('whoami'); ", the result is apache - it not is root, how can i use user
root. I want to config my system, or, simply, make dir in /root. But i can, please help me.