|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11177 PHP 4.0.5 (ISAPI) can't use exec(), system(), etc
Submitted: 2001-05-29 17:54 UTC Modified: 2001-05-30 05:08 UTC
From: alain at valain dot com Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.5 OS: Windows 2000 Server
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.
Block user comment
Status: Assign to:
Bug Type:
From: alain at valain dot com
New email:
PHP Version: OS:


 [2001-05-29 17:54 UTC] alain at valain dot com
When PHP 4.0.5 (or 4.0.4pl1 for that matter) is installed as an ISAPI module for IIS 5 on Windows 2000, calls to exec(), system() and so on give errors like this:
<-- snip -->
Warning: Unable to fork [del c:\inetpub\wwwroot\icp1sp\faxmaker\*.pdf] in c:\inetpub\wwwroot\icp1sp\admin\create_notifications.php on line 44
<-- snip -->
Running PHP as a CGI does not produce this error, and the call to exec(), system() etc. works as expected.

Here is one example that produces the error. The same example works perfectly fine when PHP runs as a CGI.
<-- snip -->
echo exec( "del " . DIRFAXMAKER . "*.pdf" );
<-- snip -->


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 28 04:01:27 2024 UTC