Bug #13224 Updated: pb with exec function

From: Date: Tue, 11 Sep 2001 06:46:52 +0000
Subject: Bug #13224 Updated: pb with exec function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65754@lists.php.net to get a copy of this message
ID: 13224 User updated by: vcaron@aplon.org Reported By: vcaron@aplon.org Status: Open Bug Type: Program Execution Operating System: win98 PHP Version: 4.0.5 New Comment: i've found a workaround by using a .bat file i've create a file called "lirezip.bat" where i put the following code @pkunzip -o *.zip @del *.zip and inside a php script i wrote exec("lirezip.bat") and everything worked fine Previous Comments: ------------------------------------------------------------------------ [2001-09-10 17:19:38] sniper@php.net Does a development build from http://www.php4win.com/ work? --Jani ------------------------------------------------------------------------ [2001-09-10 04:04:26] vcaron@aplon.org sorry, i worked with easy php 1.4 ------------------------------------------------------------------------ [2001-09-10 04:02:35] vcaron@aplon.org i use easy php 1.5 and when i try to execute this code <? exec("pkunzip -o *.zip"); ?>, i obtain Warning: Unable to fork [cd ftp] in c:\program files\easyphp\www\toto.php on line .. this code worked with easy php 1.5 ( php 4.0.5 ). ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13224&edit=1

« previous php.dev (#65754) next »