How to fix “Cannot load mysqli extension. Please check your PHP configuration” phpMyAdmin Error.

Published on Author bloggeroneLeave a comment

– Solution –

This usually occurs when more than one MySQL versions are being used and that too when switching b/w them.

step 1:
 open php.ini and search for ‘extension_dir’ and check whether the files and folders exist in the given path and the right version number folder.

extension_dir = “c:/wamp/bin/php/php<version number>/ext/”

if you have made any changes, then restart all services and check phpmyadmin, if it doesn’t work try…

step 2:
open php.ini and uncomment the following lines in php.ini if any by removing the ‘#’ at the beginning of the line.

extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_mbstring.dll

Check phpmyadmin, it should be working now :).

Comments

comments

Leave a Reply

Your email address will not be published. Required fields are marked *