PHP warning: PhP startup: Unable to load dynamic library \ D:/PhP5/EXT/php_mysqli.dll \

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.