[SOLVED] Install Not Finding Database Drivers

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
rshepard
Forum Members
Forum Members
Posts: 30
Joined: Sat Sep 25, 2010 6:50 pm

[SOLVED] Install Not Finding Database Drivers

Post by rshepard »

During step 2 of the installation I'm told that the postgres database driver is not found. However, in /var/www/htdocs/cmsms/lib/adodb_lite/adodbSQL_drivers/postgres8/ I see:

index.html                         postgres8_extend_module.inc
postgres8_datadict.inc          postgres8_meta_module.inc
postgres8_date_module.inc  postgres8_transaction_module.inc
postgres8_driver.inc

What do I need to do so the installer recognizes that the drivers are present?

Thanks,

Rich
Last edited by rshepard on Mon Sep 27, 2010 8:54 pm, edited 1 time in total.
rAndom90
New Member
New Member
Posts: 2
Joined: Sun Sep 26, 2010 11:02 am

Re: Install Not Finding Database Drivers

Post by rAndom90 »

You have to have postgresql driver loaded, what You see in ADOdb is just layer between real driver & ADO.

which means check php/ext (or wherever You have PHP extensions stored) directory, for php_pgsql, (if it's not there build it) check php.ini for extension=php_pgsql.so, if it's not there append this line.
rshepard
Forum Members
Forum Members
Posts: 30
Joined: Sat Sep 25, 2010 6:50 pm

Re: Install Not Finding Database Drivers -- FIXED

Post by rshepard »

Thank you. I need to rebuild php with postgres support.

 Later this morning:

 I rebuilt php with postgres support. /etc/httpd/php.ini now includes
extension=pgsql.so
extension=pdo_pgsql.so

and /usr/lib/php/extensions/ has pgsql.so* and pdo_pgsql.so*. I restarted httpd but still see the same failed test: no db driver installed.

  A few minutes later:

  Restarting httpd once again fixed the problem. Thank you for your help.

Rich

Rich
Last edited by rshepard on Sun Sep 26, 2010 6:41 pm, edited 1 time in total.
Locked

Return to “[locked] Installation, Setup and Upgrade”