The MySQL adapter 'mysqli' is not available.

After moving to CentOS 7 my Joomla web site is telling me: "The MySQL adapter 'mysqli' is not available." I looked in the php.ini file and it seems that it is turned on... Thoughts?

Status: 
Active

Comments

Howdy -- I don't believe CentOS 7 provides a PHP mysqli driver any longer.

Joomla can be configured to use the standard mysql driver though, by editing the configuration.php file and changing the "dbtype" parameter.

OK I figured it out. For anyone looking to resolve this you need to install the following:

yum install php-pdo php-mysqli

Nuts, I actually looked and didn't see a mysqli module... it looks like I just overlooked that! But if you wanted to change Joomla from mysqli, you can change the db type to just "mysql".