Page 1 of 1

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

Posted: Mon Feb 20, 2006 10:01 pm
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,

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

Posted: Mon Feb 20, 2006 10:38 pm
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

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

Posted: Tue Feb 21, 2006 3:58 am
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