I’m hunting a bug on a CentOS 5.3 installation. If I run pear, it just exists direclty. Even pear help quits cowardly. The only hint is in the logfile:

php: PHP Fatal error:  Call to a member function getMessage() on a non-object in /usr/share/pear/pearcmd.php on line 321

Installed version of php is:
PHP 5.1.6 (cli) (built: Jan 13 2010 17:09:42)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

pear is: php-pear-1.4.9-6.el5

Somebody have an idea?

[UPDATE]: As always, restart from the beginning helps. I did uninstall the rpm package by yum remove php-pear and downloaded the go-pear via wget http://pear.php.net/go-pear. The installation was triggered with php ./go-pear and I got a working environment again.