troublesome exec
| From: | Michael Langford | Date: | Thu, 02 May 2002 10:01:09 +0000 |
| Subject: | troublesome exec | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13481@lists.php.net to get a copy of this message | ||
I'm trying to run a program using exec but no matter what I do I keep
receiving a persistent unable to fork error.
I currently have:
exec("command.exe", $misspells);
which gives me an error, so tried
exec("cmd /c command.exe", $misspells); and even
exec("C:\WINNT\system32\cmd.exe /c command.exe", $misspells);
I tried setting execute permissions on the system32 folder and also have
execute permissions on the command.exe file. I am running PHP v2.1.0,
recently upgrading coz i heard there were unable to fork problems with
4.0.6. Can anyone help???
many thanks in advance
Mike