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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jacobc at globeset dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 00:01:29 2025 UTC