php - ERROR: Could not include PEAR database functions required for the database backend -


this error happen when connect dsn in squirrel mail address book stored mysql

is pear installed, , include path set correctly find db.php? storing addressbook in squirrel mail mysql, getting error. pls help, if 1 know solution

this old thread never found real solution virtualmin's squirrelmail error:

"could not include pear database functions required database backend. pear installed, , include path set correctly find db.php? please contact system administrator , report error."

by now, virtualmin version 1.831 , on debian 8. standard pear installed virtualmin version 1.9.5.

to solve annoying problem need run command:

pear install db 

this command fail, because required version of pear 1.10.x. need update pear 1.10.x pretty easy:

wget http://pear.php.net/go-pear.phar php go-pear.phar 

this update pear, check version with:

pear version 

in case: pear version: 1.10.3

now can run last command:

pear install db 

it install , error not appear anymore.

i hope somebody.

ps. in working configuration have uncommented following line: ;include_path=".:/usr/share/php" (should remove leading ";") @ following locations: /etc/php5/apache2/php.ini /etc/php5/cli/php.ini , restart apache


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -