Re: Re: I can't execute pf commands
| From: | Negin Nickparsa | Date: | Thu, 28 Jul 2011 16:25:22 +0000 |
| Subject: | Re: Re: I can't execute pf commands | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314237@lists.php.net to get a copy of this message | ||
If you want to execute shell commands as root theres another solution too
try this:
shell_exec('sudo -u root ls -l /var/tmp')
but the solution Of shawn is better then it will not needed to set it again
in another commands