ID:               29001
 User updated by:  hartz at e-consult-ag dot de
 Reported By:      hartz at e-consult-ag dot de
 Status:           Open
 Bug Type:         Program Execution
 Operating System: Windows XP
 PHP Version:      4.3.7
 New Comment:

I tried it by running PHP as CGI binary with the same result


Previous Comments:
------------------------------------------------------------------------

[2004-07-06 10:15:08] hartz at e-consult-ag dot de

No,
it happens only under iis 5.0. Under apache and windows 2000 it runs
without any problems.

------------------------------------------------------------------------

[2004-07-06 01:54:55] [EMAIL PROTECTED]

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

Reply via email to