Curl cannot be loaded. how can this problem be solved?

Source: Internet
Author: User
Curl cannot be loaded. how can this problem be solved? Curl PHP extension

Win7 64-bit
Wampserver2.4-x64.exe
Apache2.4.2 + php5.4.3 + mysql5.5.24
Error reported when curl cannot be loaded
Fatal error: Call to undefined function curl_init () in F: \ 1wwwroot \ phpwind_v9.0_utf8 \ upload \ cs. php on line 35

Configuration
Extension_dir = "d:/wamp/bin/php/php5.4.3/ext /"
Extension = php_curl.dll
These two,
The ext folder of php has been added to the environment variable.
Php error statements
$ch = curl_init();

Error reported when curl cannot be loaded
Fatal error: Call to undefined function curl_init () in F: \ 1wwwroot \ phpwind_v9.0_utf8 \ upload \ cs. php on line 35

What else do I need? What configuration is required?


Reply to discussion (solution)

Check whether libeay32.dll and ssleay32.dll exist.

Check whether libeay32.dll and ssleay32.dll exist.

In this directory, D: \ wamp \ bin \ php \ php5.4.3 has these two files. then I copied them to system32 and did not register any components.
Php_curl 633 KB (648,704 bytes)

Php_curl.dll is 64-bit ?? ?? Vc? OK? And Ben? Ann? Is it consistent?
Same? Yes? Dll file, him? There are many different versions. what is the difference between different versions? Legal work. if yes? Parts? You can do it yourself ?? I? Dll, no? ? Search ????? "Win7 64-bit vc? Under php_curl.dll? "

Php_curl.dll is 64-bit ?? ?? Vc? OK? And Ben? Ann? Is it consistent?
Same? Yes? Dll file, him? There are many different versions. what is the difference between different versions? Legal work. if yes? Parts? You can do it yourself ?? I? Dll, no? ? Search ????? "Win7 64-bit vc? Under php_curl.dll? "

I downloaded the wampserver environment for installation.

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.