Saturday, 20 August 2011

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


- Solution -
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 :).

1 comment: