From: hartz at e-consult-ag dot de
Operating system: Windows XP
PHP version: 4.3.7
PHP Bug Type: Program Execution
Bug description: "unable to fork"
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 bug report at http://bugs.php.net/?id=29001&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29001&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29001&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29001&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29001&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29001&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29001&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29001&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29001&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29001&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29001&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29001&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29001&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29001&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29001&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29001&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29001&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29001&r=float