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,
PROBLEM WITH DATABASE: No valid database drivers appear to be compiled
PROBLEM WITH DATABASE: No valid database drivers appear to be compiled
Last edited by anunez on Mon Feb 20, 2006 10:03 pm, edited 1 time in total.
Re: PROBLEM WITH DATABASE: No valid database drivers appear to be compiled
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:
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
You could check what packages are installed by issuing something like:
Code: Select all
rpm -qla|grep php|grep mysql
HTH
Re: PROBLEM WITH DATABASE: No valid database drivers appear to be compiled
I was able to fix the problem by
So if any body has the same problem, just remember to install php-mysql
Code: Select all
yum install php-mysql