PHPWarning: PHPStartup: UnabletoloaddynamiclibraryD. 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, I solved the problem. 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.
Success! Inspired by a buddy in the group, I solved the problem ,...