Menu

"Failed loading PEAR:DB"

Help
2006-01-13
2013-04-16
  • Nobody/Anonymous

    Hello all --

    Having trouble getting PHPBT to use PEAR. PEAR is installed; PEAR:DB is installed.

    I'm not sure about the path to PEAR: 'which pear' gives me '/usr/local/bin/pear'; 'phpinfo()' gives me '--with-pear=/usr/local/apache/php-pear'. I've plugged both into install.php; neither work.

     
    • Nobody/Anonymous

      ditto, '> which pear' shows that pear is in the path, and '> pear list' shows it's related to php.  I tried hardcoding the binary to no avail.

       
    • Nobody/Anonymous

      I thought I had the DB package installed but I didn't, have you tried'> pear list' to verify that the DB package is in fact installed?

       
    • Nobody/Anonymous

      Check where the pear package is installed, likely /usr/share/pear. Check if there is a DB.php there, which is the one phpbt needs. If yes, try modifying install.php to change the PEAR_PATH to wherever your package is (don't forget the ending "/").

       

Log in to post a comment.