Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] pear and db.php

Karl Latiss

2008-02-08

Replies: Find Java Web Hosting

Author LoginPost Reply
On Fri, 2008-02-08 at 10:10 -0600, Mike Husmann wrote:
> Hello List,
>  I'm working on an install of squirrelmail (from rpm) on rhel 5.1 tweaked
> only to use mysql for address books and user prefs. Unfortunately,
> squirrelmail can't find pear's DB.php anywhere:
>
> Could not include PEAR database functions required for the database backend.
> Is PEAR installed, and is the include path set correctly to find DB.php?
>
> php-pear is installed:
>
> [root@(protected)
> php-pear-1.4.9-4
>
> But the closest I get to DB.php is DependencyDB.php located in:
>   /usr/share/pear/PEAR/
>
> yum provides whatprovides DB.php returns only DependencyDB.php as part of the
> php-pear package.
>
> Am I missing something obvious? Do I need to get pear from source?
>
What does a 'pear list' display?

If there's no DB module you can install it with 'pear install DB'

Alternately it may be that /usr/share/pear is not in the include path in
php.ini

--
Karl Latiss <karl.latiss@(protected)>

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.