#11177 [Com]: PHP 4.0.5 (ISAPI) can't use exec(), system(), etc
| From: | pee-free1507 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:04:54 +0000 |
| Subject: | #11177 [Com]: PHP 4.0.5 (ISAPI) can't use exec(), system(), etc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62928@lists.php.net to get a copy of this message | ||
ID: 11177
Comment by: pee-free1507 at hotmail dot com
Reported By: alain at valain dot com
Status: Closed
Bug Type: Program Execution
Operating System: Windows 2000 Server
PHP Version: 4.0.5
New Comment:
<a href=http://xxxratedpreggojerk.da.ru>pee
free</a>
Previous Comments:
------------------------------------------------------------------------
[2001-05-30 05:08:00] sniper@php.net
This is fixed in CVS. Fix will be in PHP 4.0.6.
--Jani
------------------------------------------------------------------------
[2001-05-29 17:54:42] 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 -->
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11177&edit=1