php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13747 Exec() and System() broken
Submitted: 2001-10-19 07:22 UTC Modified: 2001-10-19 07:30 UTC
From: regturais at hotmail dot com Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.6 OS: Windows 2000 SP2 w/IIS5.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: regturais at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-10-19 07:22 UTC] regturais at hotmail dot com
I am running php 4.0.6 on iis5 under win2k/sp2

any attempt to use system() or exec() results in a:

Warning: Unable to fork [whatever the command was] in blahblah.php

For example simple file operations or even a basic "mkdir foo" with all the permissions appropriately set.

Problem reported to exist under win2k/apache as well. 

alleged to have been fixed under 4.0.6 but does not seem to be the case. :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-19 07:29 UTC] regturais at hotmail dot com
btw running php as cgi -not- ISAPI
 [2001-10-19 07:30 UTC] sander@php.net
Already fixed in CVS. Will be in 4.1.0 when it's out.
Tested with 4.0.7RC3 on Win2K.

In the meantime, you can use 4.0.7RC3 from http://208.44.124.20/php-dev-win/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 14:01:29 2024 UTC