Page 1 of 1

No valid database drivers appear to be compiled into your PHP install

Posted: Wed Dec 21, 2005 3:19 pm
by Stefan
Hello,
I'm trying to install my CMSMS on a friend's Debian server. It passes the first file permission checks correctly and then gives
>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.<
This is strange because new php and sql versions are installed and phpmyadmin itself works. The databasenames and passwords are as well correct.

I need a hint or a clue or both. Greetings, Stefan

Re: No valid database drivers appear to be compiled into your PHP install

Posted: Wed Dec 21, 2005 4:34 pm
by Piratos
if you have mysql use MySQL (3 and 4.0).
if you select mysqli or postgresql the installscript checks with
function_exists('mysqli_connect') or function_exists('pg_connect') if you have mysqli or pg-function.
if there is no mysqli or pg the errorstring appears.

Re: No valid database drivers appear to be compiled into your PHP install

Posted: Thu Dec 22, 2005 9:25 am
by Stefan
Thanks, my friend didn't experience the best with mysqli and therefore refrained from installing it. I thought it belongs to a "standard repertoire" of sql installation. Still have to convince him of installing it and will post if this was the source of error.

Regards stefan

Re: No valid database drivers appear to be compiled into your PHP install

Posted: Wed Jan 25, 2006 9:05 am
by ren0r
i got errors too at my ddebian system.

mysqld Ver 4.1.14-Debian_6-log for pc-linux-gnu on i486 (Source distribution)
PHP 4.4.0-4 (cli) (built: Oct 20 2005 16:42:12)
Server version: Apache/2.0.54

i also use this configuration for other projects like vexim2, which works fine for me.

i used "apt-cache search msqyli" and found one result.

"php4-maxdb - PHP extension to access MaxDB databases". installed that package, but the result is the same.

Re: No valid database drivers appear to be compiled into your PHP install

Posted: Wed Jan 25, 2006 11:16 am
by Ted
apt-get install php4-mysql

Then, restart apache.