Home > Backend Development > PHP Tutorial > PHP php_curl.dll error solution_PHP tutorial

PHP php_curl.dll error solution_PHP tutorial

WBOY
Release: 2016-07-13 17:41:42
Original
1169 people have browsed it

The problem that php5 cannot find php_curl.dll under Windows

Since Curl is used, the following error is prompted when setting up: unable to load dynamic library '….php_curl.dll'

My environment is Apache/2.2.14 (Win32) PHP/5.3.0. It stands to reason that the installation of php5 is very simple. Just specify extension_dir = "c:/php523/ext/", such as gd2, mysqli and There is no problem with mysql_dll, but php_curl.dll always prompts an error. Try modifying the PATH path and copy the DLL to /windows/system32/, but it still prompts that php_curl.dll cannot be found.

Finally, I finally found this sentence on php.net: Note to Win32 Users: In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll must be present in your PATH.

Find these two files in the php root directory, copy libeay32.dll and ssleay32.dll to /windows/system32/, and finally got it done. The following information appears in phpinfo:
cURL support enabled
cURL Information 7.19 .4

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486118.htmlTechArticleThe problem that php5 cannot find php_curl.dll under Windows. Since Curl is used, it prompts like this when setting up Error: unable to load dynamic library '….php_curl.dll' My environment is...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template