Bug #11482 Updated: exec/system return value 11 for all C program
| From: | sniper@php.net | Date: | Thu, 14 Jun 2001 17:09:57 +0000 |
| Subject: | Bug #11482 Updated: exec/system return value 11 for all C program | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57117@lists.php.net to get a copy of this message | ||
ID: 11482
Updated by: sniper
Reported By: nicolay@ined.fr
Old-Status: Open
Status: Feedback
Old-Bug Type: Unknown/Other Function
Bug Type: Program Execution
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
And what does this 'all_env' program do?
Are the sources somewhere to get so we could try it?
Or could you please use some other program as example
which is found on every system. This sounds
like your program is buggy, not PHP, as system() works
for me just fine.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-06-14 04:57:48] nicolay@ined.fr
if i use system("/bin/ls -al",$res), all is fin, $res=0.
BUT, if i use system("/home/xan/all_env",$res),
the result is always 11 (for what ever C program i've write).
ls -al /home/xan/all_env
rwxr-xr-x [...] all_env
(compile dynamically or statically)
can you help me ?
I use apache 1.3.19 and php4.0.5 (and test before with php3.0.18)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11482&edit=2