When I started the PHP environment at home today, I suddenly found that php_mysqli.dll could not be loaded. I found a circle online and there was no solution!
Inspired by a buddy in the group, the problem has been solved. If your problem persists, try the following method!
Under Apache
For example, if my Apache is installed on the d drive, the directory is D:/severs/Apache.
PHP Directory is D:/servers/PhP5
In this way, Copy D:/servers/PhP5/libmysql. DLL to the Directory D:/servers/Apache/bin.
Restart Apache to solve the problem !~~
Under IIS:
Copy libmysql. dll in the PHP Directory to the c: \ windows \ system32 \ directory, and then restart IIS. If you are prompted to be in use, stop IIS (iisreset/Stop) first.
Of course, the prompt that other DLL files are the same solution. Generally, the PHP Directory permission is checked first. Generally, everyone can read and browse and run.