note 59049 added to ref.exec
| From: | valqk at lozenetz dot org | Date: | Fri, 25 Nov 2005 00:05:11 +0000 |
| Subject: | note 59049 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99048@lists.php.net to get a copy of this message | ||
If you are chrooting php into enviornment that doesn't have /bin/sh you can't execute any
command! Even when you call
mail() and it calls sendmail ... well actually sendmail NEVER gets called because /bin/sh is not in
the chroot!
SO in conclusion: YOU MUST HAVE /bin/sh TO EXECUTE SOMETHING!!!
VERY IMPORTNAT!
I've lost few days while find this, hope it helps someone!!!
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59049
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59049&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59049&report=yes
Search -- http://master.php.net/manage/user-notes.php