php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9371 system() give unable to fork error
Submitted: 2001-02-21 08:21 UTC Modified: 2001-04-27 12:55 UTC
From: connolk at tcd dot ie Assigned: derick (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: Win2K
Private report: No CVE-ID: None
 [2001-02-21 08:21 UTC] connolk at tcd dot ie
I am running an apache server, which hosts my php pages, on win2k. I am trying to use the system command for some PGP encryption stuff but am getting an "unable to fork" error! For testing I have created the following script:
<?
system("C:\\notepad.exe");
?>
NOTE: I have copied notepad.exe over to the root directory.
I am running PHP 4.0.5.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-25 10:55 UTC] derick@php.net
working on it
 [2001-04-27 12:55 UTC] dbeu@php.net
fixed in cvs, wait for 4.0.6
 [2004-06-09 02:52 UTC] d at d dot com
that DOES not work on 4.3.7 with NT4
Warning: exec(): Unable to fork [C:\WINNT\SYSTEM32\CMD.EXE /?]
 [2004-08-24 10:28 UTC] christian dot fanzott at chello dot at
i use in an application the exec command for several actions...
and once i got an  "unable to fork"-error.
this application is running for several months without errors and in the meantime no changes were made.
i am running an apache on a linux redhat machine with php 4.3.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC