Solve the problem of the Curl module in PHP 5.6.11!

Source: Internet
Author: User

According to the online tutorial wrote a small example of curl, in the Apache environment, a little response is not, put in the IIS environment is OK, the feeling problem must be in the dynamic Connection library, because the configuration file Php_curl.dll is open, and on IIS OK;

Find some solutions on the Internet:

-----------------------------

"Environment variable" is set: PHPEXT,PHPRC; invalid

Put the php_curl.dll under the Apache/bin;

Check it out. There are also two libeay32.dll of these in the Apache/bin directory,ssleay32.dll个文件;没问题

Finally tried, put the current PHP root directory under the libssh2.dll in the apache/bin directory, restarted a bit apache,ok, Finally saw the phpinfo in the Curl module information, the program can also be run naturally.

Solve the problem of the Curl module in PHP 5.6.11!

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.