php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6426 system() or exec(): unable to fork
Submitted: 2000-08-29 20:36 UTC Modified: 2001-04-27 18:45 UTC
From: jacobc at globeset dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: Windows 2000
Private report: No CVE-ID: None
 [2000-08-29 20:36 UTC] jacobc at globeset dot com
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!




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-03 06:04 UTC] stas@php.net
Yes, this doesn't work on win32 until someone gets to fix it.
 [2000-09-06 13:10 UTC] stas@php.net
same as 4761
 [2001-04-27 18:45 UTC] sniper@php.net
Fixed in CVS. Wait for PHP 4.0.6.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 03:01:31 2024 UTC