Re: Not able to execute Linux binary
| From: | Jason Wong | Date: | Fri, 05 Dec 2003 19:48:54 +0000 |
| Subject: | Re: Not able to execute Linux binary | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172015@lists.php.net to get a copy of this message | ||
On Saturday 06 December 2003 02:44, Karam Chand wrote:
> The output is
>
> StartEnd
Good, that shows your PHP program is being executed.
> I am sure that the linux binary is ok. coz if in the
> sheel you just do
>
> ./myapp
>
> it outputs
>
> error
>
> seems that the binary is not getting executred. I
> think there is some permission info.
Not necessarily. Now it's time to check the manual entry for exec() to see
what *exactly* that function does. You'll find that you're using it
incorrectly (or it doesn't do what *you* think it should do).
> if i do phpinfo() i get the following output for safe
> stuff -
>
> safe_mode Off Off
Good, that rules out a lot of other possibilities as to why your program isn't
working.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.
-- Gilbert K. Chesterson
*/