PHP 4.0 Bug #9069: "Unable to fork" error when trying to use external program execution.
| From: | anders dot jensen at prodev dot net | Date: | Fri, 02 Feb 2001 11:59:07 +0000 |
| Subject: | PHP 4.0 Bug #9069: "Unable to fork" error when trying to use external program execution. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45601@lists.php.net to get a copy of this message | ||
From: anders.jensen@prodev.net
Operating system: Win NT4 SP6
PHP version: 4.0.4pl1
PHP Bug Type: Program Execution
Bug description: "Unable to fork" error when trying to use external program execution.
I use PHP 4.0.4 pl1 on a machine running Windows NT4 Server, with sp 6 and IIS4
When I try to use any of the functions exec(), system() or passthru(), I receive the following
error:
Warning: Unable to fork [dir /w > c:\test.txt] in D:\Inetpub\wwwroot\cooldim.com\test.php on line
2.
This error was displayed when trying to run the following code:
<?
passthru("dir /w > c:\\test.txt");
?>
I tried a similar script on a Unix machine which worked fine...
Help Please!
--
Edit Bug report at: http://bugs.php.net/?id=9069&edit=1