Bug #13224 Updated: pb with exec function
| From: | sander@php.net | Date: | Wed, 03 Oct 2001 15:06:34 +0000 |
| Subject: | Bug #13224 Updated: pb with exec function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67206@lists.php.net to get a copy of this message | ||
ID: 13224
Updated by: sander
Reported By: vcaron@aplon.org
Status: Feedback
Bug Type: Program Execution
Operating System: win98
PHP Version: 4.0.5
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-09-11 13:32:26] sniper@php.net
Again, does the development build from http://www.php4win.com/
work without this workaround
or not?
--Jani
------------------------------------------------------------------------
[2001-09-11 02:46:51] vcaron@aplon.org
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
------------------------------------------------------------------------
[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