The solution of running Curl_init () function on Win10 always error

Source: Internet
Author: User

"Problem phenomenon"

1. Extract the APACHE ZIP package to the directory, such as D:\apache24\

2. Unzip the PHP ZIP packet to the directory, for example: d:\php56\

Apache and PHP and MySQL parameter configuration, online can be a large basket, can be Google, Bing, Baidu.

Here is a major problem, if you use the Curl_init () function in PHP, the Web page has been prompted: Fatal error:call to undefined function curl_init (),

Then directly add d:\php56 to the environment variable path in OK, do not follow the online said to Php_curl.dll, Libeay32.dll, Ssleay32.dll Copy to System32 ,

You can then restart Apache for normal access.

The solution of running Curl_init () function on Win10 always error

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.