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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 38 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Feb 24 10:01:27 2024 UTC