Resolve php extension php_curl.dll not loaded solution _ PHP Tutorial

Source: Internet
Author: User
Resolve the php extension php_curl.dll not loaded solution. Method 1 (tested) has built-in php_curl.dll. in the ext Directory, this DLL is used to support SSL and zlib. in php. extensionphp_curl.dll is found in ini, and the preceding comment is removed. set e Method 1 (tested) has built-in php_curl.dll. in the ext Directory, this DLL is used to support SSL and zlib.
In php. ini, find extension = php_curl.dll and remove the preceding comment.
Set extension_dir = c: \ php \ ext. when the PHP page is refreshed, an error is reported, indicating that the module php_curl.dll cannot be found.
Copy php_curl.dll to windows \ system32.
After searching for it online, you need:
Libeay32.dll, ssleay32.dll, php5ts. dll, php_curl.dll
Copy them to the system32 directory and restart apache.

Method 2:
This php_curl.dll depends on two files (ssleay32.dll and libeay32.dll). if these two files are not configured correctly, the system will prompt that the dynamic library cannot be found. these two files are under the php directory.
Solution: configure the following in the httpd. conf file of Apache:
LoadFile "D:/webserver/php/ssleay32.dll"
LoadFile "D:/webserver/php/libeay32.dll"
Restart the apache service.

The kernel (tested) has built-in php_curl.dll. in the ext Directory, this DLL is used to support SSL and zlib. in php. extension = php_curl.dll is found in ini, and the preceding comment is removed. set e...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.