


PHP under IIS6/7 under windows server cannot load dynamic link libraries such as php_curl.dll
PHP The php_curl.dll dynamic link library cannot be loaded in IIS6 or IIS7. You can try the following methods.
Problem:
PHP cannot load the php_curl.dll dynamic link library in IIS6 or IIS7.
Solution:
There are relevant instructions in the PHP manual: php_curl.dll; CURL, client URL library Function library; requires: libeay32.dll, ssleay32.dll (included)
So just copy the two libraries libeay32.dll and ssleay32.dll to the %WINDOWS% directory.
PS: Many people on the Internet say to copy the above two libraries to %SYSTEM32%, but this does not work at all. The article will only COPY without verification, which is simply a mistake. You guys are just wasting people's time.
After some research, I found a rule, that is: a general solution to PHP's inability to load extension libraries under windows. The steps are as follows:
1. Check whether the related dynamic link library of the extension library is in the PHP extension folder (such as: /php/ext/).
2. Find relevant instructions for the extension that cannot be loaded in the PHP manual.
For example, the library that cannot be loaded is php_openssl.dll, and the relevant instructions found in the PHP manual are: php_openssl.dll; OpenSSL function library; requires: libeay32.dll (included). It can be seen that loading the php_openssl.dll library also requires the libeay32.dll library.
3. Copy the libeay32.dll library to the %WINDOWS% directory. Restart IIS and you can see openssl in phpinfo.php. It should be noted that PHP packages such as libeay32.dll (included) are copied to the %WINDOWS% directory.
The above is the detailed content of PHP under IIS6/7 under windows server cannot load dynamic link libraries such as php_curl.dll. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6
Visual web development tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.