|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-07-06 01:54 UTC] sniper@php.net
  [2004-07-06 10:15 UTC] hartz at e-consult-ag dot de
  [2004-07-06 10:17 UTC] hartz at e-consult-ag dot de
  [2004-07-09 15:32 UTC] egarcia at egm dot as
  [2004-07-11 20:21 UTC] sniper@php.net
  [2004-07-12 09:39 UTC] hartz at e-consult-ag dot de
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Sat Oct 25 02:00:01 2025 UTC | 
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).