note 46117 added to function.shell-exec
| From: | snoj-wwwposter at latitude dot li | Date: | Wed, 29 Sep 2004 21:53:18 +0000 |
| Subject: | note 46117 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77590@lists.php.net to get a copy of this message | ||
if the script you want to run from shell_exec needs more permissions than the webserver has (for
example script needs root priviliges, do:
# chown root:root
# chmod 4711!
of course, replace root:root with the user that the script needs to run as and tweek the chmod for
your security policy.
!! be careful about what the script does! remember it has root privilige!
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46117
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46117&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46117&report=yes
Search -- http://master.php.net/manage/user-notes.php