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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 "/").
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
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?
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 "/").