Yannick Mortier wrote:
2009/2/13 Dan Shirah :
Using both exec() and system() I am getting the error: Unable to fork
This sounds to me like it is an restriction on the server that doesn't
allow php to fork so it could start another process.
Maybe you should ask your hoster if you are not
2009/2/13 Dan Shirah :
>>
>> Use the system() command, and enclose both your command and its
>> parameters in a pair of single quotes, as:
>>
>> system('mycmd -a alfa -b bravo');
>>
>> Paul
>> --
>> Paul M. Foster
>>
>
> Using both exec() and system() I am getting the error: Unable to fork
>
Thi
On Sun, 2009-02-15 at 00:16 +1300, German Geek wrote:
> Hi,
>
> I've had a lot of problems with shell_exec too. Mostly it was permissions or
> environment variables not being set. i dont know if there is a way to set
> environment variables in the php.ini but if not you can set them with
> shell_e
Hi,
I've had a lot of problems with shell_exec too. Mostly it was permissions or
environment variables not being set. i dont know if there is a way to set
environment variables in the php.ini but if not you can set them with
shell_exec as well, at least on unix it works. You can simply concatenate
>
> Use the system() command, and enclose both your command and its
> parameters in a pair of single quotes, as:
>
> system('mycmd -a alfa -b bravo');
>
> Paul
> --
> Paul M. Foster
>
Using both exec() and system() I am getting the error: Unable to fork
On Fri, Feb 13, 2009 at 02:30:38PM -0500, Dan Shirah wrote:
> Hello all,
>
> Can someone point me in the right direction?
>
> I'm trying to call an EXE from PHP and pass it two variables.
>
> I looked at the exec() command and I see that this can call the executable,
> but I don't see that it c
6 matches
Mail list logo