Linuxphpcurl_errno ($ ch)

Source: Internet
Author: User
Linuxphpcurl_errno ($ ch) is running on windows. running curl_errno ($ ch) on linux returns 1. what is the problem?

Curl_errno ($ ch)
CURLE_UNSUPPORTED_PROTOCOL (1 )? The URL you sent to libcurl uses a protocol not supported by this libcurl. The possible cause is that you do not use the compile-time option (it may be that the protocol string is misspelled or the protocol libcurl code is not specified ).


Reply to discussion (solution)

Yes more

Install the new version.

Yes more


I also found that it may be the reason why ssl is not enabled. I opened the info on windows and compared it. this is the reason. Because I am generating a menu now, an https address will be sent. it should have a certificate for verification, and ssl needs to be enabled. it seems that I want to install openssl on the Internet, but I am not familiar with linux.

This problem has been solved. it is indeed because ssl is not enabled. thank you!

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.