note 72518 added to function.exec
| From: | bapenguinatevilavatar dot com at osu1 dot php dot net | Date: | Mon, 22 Jan 2007 20:43:18 +0000 |
| Subject: | note 72518 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122042@lists.php.net to get a copy of this message | ||
I'm having a horrible time getting this to work. No matter what I use (exec, shell_exec,
pass_thru, etc) I either get no output or a return code of 127. From what I understand this has to
do with permissions.
The shell script I went to execute is owned by the webserver, and is in the same directory that the
php file is in. In fact, the php file itself creates the shell script.
I've even tried just exec("ls") with no luck.
Does anybody know what could be causing this above and beyond file permissions?
----
Server IP: 69.147.83.197
Probable Submitter: 69.7.224.8
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/72518
Del: integrated -- https://master.php.net/note/delete/72518/integrated
Del: useless -- https://master.php.net/note/delete/72518/useless
Del: bad code -- https://master.php.net/note/delete/72518/bad+code
Del: spam -- https://master.php.net/note/delete/72518/spam
Del: non-english -- https://master.php.net/note/delete/72518/non-english
Del: in docs -- https://master.php.net/note/delete/72518/in+docs
Del: other reasons-- https://master.php.net/note/delete/72518
Reject -- https://master.php.net/note/reject/72518
Search -- https://master.php.net/manage/user-notes.php