search
HomeOperation and MaintenanceWindows Operation and MaintenancePHP 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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows

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.