Solve the problem of not loading php_curl.dll extension in php.

Source: Internet
Author: User
Solve the problem of not loading php_curl.dll extension in php.
This article introduces how php cannot load the php_curl.dll extension problem. if you need it, refer to it.

Method 1: php_curl.dll has been built in. 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. you need to: libeay32.dll, ssleay32.dll, php5ts. dll and php_curl.dll are all copied to the system32 directory. restart apache.

Method 1: available after testing.

Method 2: This php_curl.dll depends on two files (ssleay32.dll and libeay32.dll). if these two files are not correctly configured, 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:

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

Restart apache to make the configuration take effect.

Note: Method 2 is not tested. you can test it on your own.

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.