美文网首页
cURL error 60错误解决

cURL error 60错误解决

作者: 兮嘉 | 来源:发表于2016-11-16 13:48 被阅读402次

    使用guzzlehttp的时候报如下错误:

    cURL error 60: SSL certificate problem: unable to get local issuer certificate
    

    解决方法:
    Follow this link: http://curl.haxx.se/ca/cacert.pem
    Copy the entire page and save it in a: "cacert.pem"
    Then in your php.ini file insert or edit the following line:

    curl.cainfo = "[pathtothisfile]\cacert.pem"
    

    相关文章

      网友评论

          本文标题:cURL error 60错误解决

          本文链接:https://www.haomeiwen.com/subject/vflrpttx.html