Home  >  Article  >  Backend Development  >  Solution to resolve php extension php_curl.dll not loading_PHP Tutorial

Solution to resolve php extension php_curl.dll not loading_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 15:02:37920browse

Method 1 (passed the test) has built-in php_curl.dll. In the ext directory, this DLL is used to support SSL and zlib.
Find extension=php_curl in php.ini .dll, remove the previous comment.
Set extension_dir=c:phpext, and when refreshing the PHP page, an error occurs, saying that the module php_curl.dll cannot be found.
Copy php_curl.dll to windowssystem32, still the same error.
I searched online and found that I need to copy:
libeay32.dll, ssleay32.dll, php5ts.dll, php_curl.dll
to the system32 directory and restart apache.

Method 2 can also be tried:
This php_curl.dll depends on two files (ssleay32.dll and libeay32.dll). If these two files are not configured correctly, you will be prompted to find them. Without this dynamic library, these two files are under the php directory.
Solution: Configure it in Apache's httpd.conf file:
LoadFile "D:/webserver/php/ssleay32.dll"
LoadFile "D:/webserver/php/libeay32.dll"
Then restart the apache service and it will be ok.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327904.htmlTechArticleMethod 1 (passed the test) has built-in php_curl.dll. In the ext directory, this DLL is used to support SSL and zlib. Find extension=php_curl.dll in php.ini, remove the previous comment. Set e...
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