Centos 5.5 install PearDB
- by John Gardeniers
Disclaimer: I use Linux for some jobs but I am not a Linux admin.
I have a Centos 5.4 machine which performs some server duties and doubles as a web site development machine. PHP 5.3.3 was installed from RPM with the --without-pear option. I now wish to use PearDB but can't figure out how to install it.
If I run yum install php-pear-db, it comes back with
Error: Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.i386 (updates).
The only RPM I've found that looks like it might be close currently has a dead link, so I can't even try that.
What would be the best way to go about this? Is there a way to reinstall from the RPM and include pear? Can I install the dependency without breaking the current installation? Should I try to uninstall the original PHP and reinstall it from source, complete with pear?
I thought this might have been an SU question but the FAQ over there suggests otherwise.