#29001 [Fbk->Opn]: "unable to fork"
| From: | hartz at e-consult-ag dot de | Date: | Tue, 06 Jul 2004 08:15:09 +0000 |
| Subject: | #29001 [Fbk->Opn]: "unable to fork" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61761@lists.php.net to get a copy of this message | ||
ID: 29001
User updated by: hartz at e-consult-ag dot de
Reported By: hartz at e-consult-ag dot de
-Status: Feedback
+Status: Open
Bug Type: Program Execution
Operating System: Windows XP
PHP Version: 4.3.7
New Comment:
No,
it happens only under iis 5.0. Under apache and windows 2000 it runs
without any problems.
Previous Comments:
------------------------------------------------------------------------
[2004-07-06 01:54:55] sniper@php.net
Does this happen with some other webserver, like Apache?
(or if you run PHP as CGI binary)
------------------------------------------------------------------------
[2004-07-03 18:47:56] hartz at e-consult-ag dot de
Description:
------------
If i exec the follow code
$lbRet = exec("\\bin\\zip.exe /zipfolder",$laOutput,$liRet);
over a webinterface (Windows XP, IIS 5.0, PHP-ISAPI-Module)
i get an error like "unable to fork ...".
After reading the php-documentation and bug-database i tried to exec
the following code with the same result:
$lbReturn = exec("cmd /c ..\\bin\\zip.exe
tmp/zipfolder",$laOutput,$liReturn);
The IUSR_ has the correct rights for executing and reading the both
files (cmd and zip).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29001&edit=1