Error 500curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used i
问题:本地开发环境没问题,测试环境报错:Error500curl_setopt():CURLOPT_SSL_VERIFYHOSTnolongeracceptsthevalue1,value2willbeusedinstead原因:代码中使用了curl模拟https请求,如:if($https){curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,0);//对认证证书来