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
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: 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

Pull Requests

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: Fri Dec 27 00:01:30 2024 UTC