#29001 [Opn->Fbk]: "unable to fork"

From: Date: Mon, 05 Jul 2004 23:54:56 +0000
Subject: #29001 [Opn->Fbk]: "unable to fork"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-61739@lists.php.net to get a copy of this message
ID: 29001 Updated by: sniper@php.net 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

« previous php.bugs (#61739) next »