PHP发起CURL请求时,报Protocol https not supported or disabled in libcurl

今天在做php的curl时,请求地址为https协议,使用之前写好的,也验证过的curl类去调用,却总是报”rotocol https not supported or disabled in libcurl”的错误,很是诧异,最后发现,原来是网址前面多了一个空格,悲剧,浪费了半天时间。

3 comments:

  1. 我居然也出现了,搞了半天,然后看到了这个,欲哭无泪啊

评论已关闭。