php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13224 pb with exec function
Submitted: 2001-09-10 04:02 UTC Modified: 2001-10-03 11:06 UTC
From: vcaron at aplon dot org Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.5 OS: win98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vcaron at aplon dot org
New email:
PHP Version: OS:

 

 [2001-09-10 04:02 UTC] vcaron at aplon dot 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 ).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-10 04:04 UTC] vcaron at aplon dot org
sorry, i worked with easy php 1.4
 [2001-09-10 17:19 UTC] sniper@php.net
Does a development build from http://www.php4win.com/
work?

--Jani

 [2001-09-11 02:46 UTC] vcaron at aplon dot 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-11 13:32 UTC] sniper@php.net
Again, does the development build from http://www.php4win.com/ work without this workaround
or not?

--Jani

 [2001-10-03 11:06 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 11:01:27 2024 UTC