![Php Php](/uploads/1/2/5/8/125857163/253615381.jpg)
Oct 10, 2015. Strange, because php comes with the mysqli extension as part of it's core extensions. 1 - Make sure the file php_mysqli.dll exists in: drive: xamp_install_dir bin php php ext. If so, copy the following line to your php.ini extension=php_mysqli.dll. 2 - Restart apache, and create a file named. The mysql library in php is obsolete (replaced by mysqli or PDO), however it would seem in this case it is still required by phpmyadmin (and if you read these forums it is still widely used:|).
PhpMyAdmin Error – The mysqli extension is missing. Please check your PHP configuration [CentOs]
Recently , I came across with following error on a CentOS6 machine on my colleague’s machine.
The mysqli extension is missing. Please check your PHP configuration…
As I was sure about my installation I started looking for a possible fix on google. I checked the output of phpinfo () and found there is no lib related to mysqli. After trying all option and no luck I thought of trying from starting hence I run following command in terminal.
php -m | grep –i mysqli
I noticed I don’t have mysqli install !. Run following command
yum install php-mysql
It will install the “php-mysql” as per repository set on CentOS.
servicehttpd restart
service mysql restart
Refresh the url http://localhost/phpmyadmin page received a pop up to enter username/password ..but with some reason at my end password was incorrect so I did following
mysqladmin -u root password NEWPASSWORD
This time it worked for me :).
Advertisements