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)    

 [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'; ?>


 [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 by the end of next Sunday (CET). If this was a problem with the 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.