Have you ever seen this error before when working with CURL:

“Protocol https not supported or disabled in libcurl”

Yet, you know that https works. Or even:

“Protocol http not supported or disabled in libcurl”

And you think, “What the hell? That’s basically what CURL is for. Why would HTTP not work!?”

Try wrapping that echoed out error message with <pre> tags:

Protocol  https not supported or disabled in libcurl

Notice anything?

There is an extra space before ‘https’. Make sure that when you do set CURLOPT_URL, you don’t put a space before the http, CURL won’t know what to do with it.

One Response to “Protocol https not supported or disabled in libcurl”

  1. Cellbender Says:

    Thanks for that information. My problem was neraly the same but only that there wasn’t any extra spaces … no … the quotes that buddy who posted that script used were false. It’s pretty hard to notice because they looked very similar to normal quotes. So to everybody out there: be attentive! ;-)
    Greets Cellbender

Drop Some Knowledge On Us…