PHP 4.0 Bug #6426: system() or exec(): unable to fork
| From: | jacobc at globeset dot com | Date: | Wed, 30 Aug 2000 00:36:08 +0000 |
| Subject: | PHP 4.0 Bug #6426: system() or exec(): unable to fork | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31181@lists.php.net to get a copy of this message | ||
From: jacobc@globeset.com
Operating system: Windows 2000
PHP version: 4.0.1pl2
PHP Bug Type: Scripting Engine problem
Bug description: system() or exec(): unable to fork
Hi, I first got this error on PHP 4.0.1pl2, then on PHP 4.0.2.
Something simple like this:
$command = "mycommand.exe";
$output = system(EscapeShellCmd($command));
print ("<pre>$output</pre>");
Will result in an error like:
Warning: Unable to fork [mycommand.exe] in D:\docs\myscript.php on line 31
I'm running Windows 2000 Professional with IIS.
PHP is running in ISAPI mode.
Thanks in advance!