Home >Backend Development >PHP Problem >What to do if php cannot load php_curl.dll

What to do if php cannot load php_curl.dll

王林
王林Original
2020-09-01 13:45:252990browse

Solution to the problem that php cannot load "php_curl.dll": first open the "httpd.conf" configuration file; then add the configuration content as "LoadFile "php installation path/ssleay32.dll""; finally restart the apache service That’s it.

What to do if php cannot load php_curl.dll

Cause analysis:

(Recommended tutorial: php video tutorial)

php_curl.dll It depends on two files (ssleay32.dll and libeay32.dll). If these two files are not configured correctly, it will prompt that the dynamic library cannot be found. These two files are under the php directory.

Solution:

Add the following configuration to Apache’s httpd.conf file:

(Related recommendations: php training)

LoadFile "D:/webserver/php/ssleay32.dll"
LoadFile "D:/webserver/php/libeay32.dll"

Then restart the apache service and it will be ok.

The above is the detailed content of What to do if php cannot load 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