Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #14454 Console_Commandline hangs when called via browser
Submitted: 2008-08-04 14:40 UTC
From: cweiske Assigned: izi
Status: Closed Package: Console_CommandLine (version 1.0.1)
PHP Version: 5.2.3 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 46 + 13 = ?

 
 [2008-08-04 14:40 UTC] cweiske (Christian Weiske)
Description: ------------ When opening a script using Console_Commandline via a browser, it hangs, eats all memory and crashes because there isn't more memory available. It does not crash on another machine with php 5.2.5 (mod_php). 5.2.3 (cgi) shows the problem. Test script: --------------- <?php phpinfo(); require_once 'Console/CommandLine.php'; $parser = new Console_CommandLine(); $parser->addOption('host', array( 'short_name' => '-h', 'action' => 'StoreString' )); try { $result = $parser->parse(); } catch (Exception $exc) { $parser->displayError($exc->getMessage()); exit(1); } echo 'weee'; ?>

Comments

 [2008-08-05 07:23 UTC] izi (David Jean Louis)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.