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

Bug #6218 the "pear" command does nothing
Submitted: 2005-12-11 11:30 UTC
From: phrosty at gmail dot com Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 5.1.1 OS: debian stable
Roadmaps: (Not assigned)    
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:
Solve the problem : 43 + 16 = ?

 [2005-12-11 11:30 UTC] phrosty at gmail dot com
Description: ------------ The "pear" cli utility does nothing for me. It doesn't matter if I give it valid args or not, it simply exits immediately without printing anything.


 [2005-12-11 15:54 UTC] cellog
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PEAR.
 [2005-12-11 20:08 UTC] phrosty at gmail dot com
This was from a vanilla php-5.1.1-fastcgi compile on debian stable. This is also reproduced on a seperate debian stable machine which has 5.1.0-fastcgi. PHP is otherwise working. There is no other information to give; the command simply does nothing.
 [2005-12-30 04:35 UTC] gpicon at aureal dot com dot pe
I have the exact same problem in FreeBSD 5.4 with php cgi-fcgi PHP 5.1.1 (cgi-fcgi) (built: Dec 30 2005 14:00:54)
 [2005-12-30 05:20 UTC] gpicon at aureal dot com dot pe
As reported in: a workaround is setting register_argc_argv = On in php.ini
 [2006-01-02 18:05 UTC] cellog
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. the command now dies if you are (rather unintelligently) using CGI instead of CLI and have not enabled register_argc_argv. Note that setting register_argc_argv on the command-line fails in PHP 4.2, so until we no longer support this version, it is impossible.