Submitted by vernman on Mon, 04/04/2016 - 12:09
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
Submitted by andreychek on Mon, 04/04/2016 - 12:21 Comment #1
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.
Submitted by vernman on Mon, 04/04/2016 - 12:29 Comment #2
Change it to what?
Submitted by vernman on Mon, 04/04/2016 - 12:52 Comment #3
OK I figured it out. For anyone looking to resolve this you need to install the following:
yum install php-pdo php-mysqli
Submitted by andreychek on Mon, 04/04/2016 - 12:59 Comment #4
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".