PHP warning:php startup:unable to load dynamic library \ d:/php5/ext/php_mysqli.dll\_php Tips

Source: Internet
Author: User
Today at home to start the PHP environment, suddenly found that can not load php_mysqli.dll, online find a lap, no solution!
In the group was inspired by a friend, unexpectedly solved, if your problem has not been resolved, please click the following methods to try!

Apache under

For example, my Apache is in D disk, and the catalogue is D:/severs/apache.
The Directory of PHP is D:/SERVERS/PHP5
So, copy the D:/servers/php5/libmysql.dll to the D:/servers/apache/bin directory.
Restart Apache, the problem is solved! ~~

Under IIS:
Copy the Libmysql.dll in the PHP directory to the c:\windows\system32\ directory, and then restart IIS. If you are prompted to use, you can stop IIS (Iisreset/stop) before

Of course, the other DLL file is the same solution, the general is to check the PHP directory permissions, general Everyone read, browse 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.