Re: Unable to use exec() in php
| From: | makhan | Date: | Mon, 18 Jun 2007 05:15:01 +0000 |
| Subject: | Re: Unable to use exec() in php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257254@lists.php.net to get a copy of this message | ||
Thanks jim for your reponse , from no success means I am not able to get any
output. I am also using shell_exec('matlab -r myscript') to run my matlab
script. I see a new matlab.exe process starting in the windows task manager.
And the browser keeps busy trying to open this php page.
I have made my matlab script to write on a text file but this file is never
created.
Jim Lucas-2 wrote:
>
> makhan wrote:
>> Hi
>>
>> I am using exec() funtions to run simple commands like exec('date') in
>> php
>> without any success. I am using apache on my windows system. Can someno
>> guid
>> me what could be wrong.
>>
>> I have checked the php.ini file and its not in the safe mode.
>
> "without any success"
>
> What exactly does this mean?
>
> You get no output? Read this: and read up on the second argument.
>
> http://us2.php.net/manual/en/function.exec.php
>
> Jim
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context: http://www.nabble.com/Unable-to-use-exec%28%29-in-php-tf3937852.html#a11170086
Sent from the PHP - General mailing list archive at Nabble.com.