PROBLEM WITH DATABASE: No valid database drivers appear to be compiled

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
anunez

PROBLEM WITH DATABASE: No valid database drivers appear to be compiled

Post by anunez »

I've install a copy centos 4.2 (Final), and I yum update and install httpd and mysql-server. It works fine but when I installed CMS Made Simple It passed the First two steps but the 3rd gave me this error:

No valid database drivers appear to be compiled into your PHP install. Please confirm that you have mysql, mysqli, and/or postgres7 support installed, and try again.

I have php.i386 4.3.9-3.9  version
and  mysql-server.i386  4.1.12-3.RHEL4

Does any body know how to fix this problem?

Thanks,
Last edited by anunez on Mon Feb 20, 2006 10:03 pm, edited 1 time in total.
jelle

Re: PROBLEM WITH DATABASE: No valid database drivers appear to be compiled

Post by jelle »

it's the mysql client that might be missing. You could use a db on a different host theoretically, so the server package is not that important.
You could check what packages are installed by issuing something like:

Code: Select all

rpm -qla|grep php|grep mysql
If that returns nothing, you might need to search for(and install) a php-mysql package with yum, installing it will  make sure you install the mysql clients too.

HTH
anunez

Re: PROBLEM WITH DATABASE: No valid database drivers appear to be compiled

Post by anunez »

I was able to fix the problem by

Code: Select all

yum install php-mysql
So if any body has the same problem, just remember to install php-mysql
Locked

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