ID: 29001 Updated by: [EMAIL PROTECTED] Reported By: hartz at e-consult-ag dot de -Status: Open +Status: Feedback Bug Type: Program Execution Operating System: Windows XP PHP Version: 4.3.7 New Comment:
Does this happen with some other webserver, like Apache? (or if you run PHP as CGI binary) Previous Comments: ------------------------------------------------------------------------ [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