PEAR Error on Sarge

I just ran into an ugly PEAR error on one of my Debian Sarge servers. I wanted to install a new PEAR module and got this:

  1. pear install PEAR_Info
  2. Fatal error: Cannot instantiate non-existent class:
  3. pear_command_auth-init in /usr/share/php/PEAR/Command.php on
  4. line 271

Further investigation revealed, that something broke during the last upgrade of PEAR. Unfortunately, there is no easy way to fix this problem, because it renders the command line interface of PEAR unusable. You have to modify the source code of Command.php by hand. Have a look on the second comment in PEAR Bug #4740. It worked for me.

Shameless plug: If this post was useful to you, please consider buying yourself something from one of my Amazon stores: US store, UK store, FR store, DE store, CA store. If you're not into Amazon, why not donate something to GNOME, Mozilla or Wikipedia? Thank you!

Leave a Reply