Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change PHP extension to mysqli in phpMyAdmin?

Tags:

phpmyadmin

When I log into phpmyadmin it says that my PHP Extension is: MySQL.

I know this needs to be changed to mysqli but how do I do that? Is that something I can do myself or is it a server config setting that I need my web host to change?

like image 902
McCoy Avatar asked Dec 07 '25 20:12

McCoy


1 Answers

To instruct phpMyAdmin to use mysqli extension you have to add the following line to your config.inc.php

/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysqli';

You can not change this setting from inside phpMyAdmin. You'll probably have to ask your web host to do that for you.

like image 100
Madhura Jayaratne Avatar answered Dec 12 '25 12:12

Madhura Jayaratne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!