WAMP installed fine, no problems, BUT...
When going to phpMyAdmin, I get the error from phpMyAdmin as follows:
Cannot load mysqli extension. Please c
I got this problem for a long time.
Tried all I've read on forums and this finally worked for me:
Open your php.ini (I assume you've got the good one that is loaded...) and find this line
mysqli.default_port = 3306
change for
mysqli.default_port = 80
Restart all services
Go to localhost/phpmyadmin -> won't work
Reopen the php.ini file and retype this
mysqli.default_port = 3306
Restart all services
Worked for me.
I have just installed WampServer, and faced same problem. I have found solution, that works for me, it is ridiculously simple.
php_mysqli
.phpmyadmin
.php_mysqli
back.After few page refreshes, remaining errors plates (about MySQL
and sqli
) had gone.
For me worked this, after searching all logs/internet/every non-normal things. You have to register dl by:
Through application:
WAMP -> PHP settings -> enable dl
or
# php.ini #
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
; http://php.net/enable-dl
enable_dl = On
i tried hard by installing the wamp again and again, by checking the php.ini file, by restarting the machine, by replacing the index.php file,
but none works. then i go to the wamp/temp and deleted all files and it works fine now.
in wampserver go to php.ini. open the file and uncomment extension=msql.dll by removing semicolon(;) for respective operating sytem.
I had this problem and spent 2 hours trying all the solutions online, none worked.
Tried this, and it woked:
Change
mysql.default_host =
to
mysql.default_host = localhost
and restart WAMP. pay attention if you are using mysqli or not.