curl 设置出错
curlopt_ssl_verifyhost no longer accepts the value 1, value 2 will be used instead
这个要怎么解决?
curl ssl 分享到:
------解决方案--------------------
它是说value 1不再被接受,value 2将被取代,尝试把它改成
curl_setopt($curl, curlopt_ssl_verifyhost, 2);
------解决方案--------------------
curl >= 7.28.1 以后的版本都不支持curlopt_ssl_verifyhost为1