SuSE 10.1 can't find PEAR::DB even though pear5 list shows it
The PEAR_Config object that comes with Suse 10.1 has the wrong install directory, which means this code doesn't retrieve the right info:
$pear = new PEAR_Config();
$pear_reg = new PEAR_Registry($pear->get('php_dir'));
To work around this, create some symlinks:
ln -s /usr/share/php5 /usr/lib/php ln -s /usr/share/php5/PEAR /usr/lib/php/pear

