When I started the PHP environment at home today, I suddenly found that php_mysqli.dll could not be loaded. I searched online and found no solution!
I was inspired by a buddy in the group and solved it. If your problem has not been solved yet, please try the method below!
Under apache
For example, my apache is installed on drive D, and the directory is D:/severs/apache
The directory of PHP is D:/servers/php5
In this way, copy D:/servers/php5/libmysql.dll to the directory D:/servers/apache/bin
Restart apache and the problem will be solved! ~~
Under iis:
Copy libmysql.dll in the php directory to the c:windowssystem32 directory, and then restart iis. If it prompts that it is being used, you can stop iis (iisreset /stop) first
Of course, the same solution is used for other dll files. Generally, the permissions of the php directory are checked first. Generally, everyone reads, browses and runs That’s it.