cURL error 60: SSL certificate problem: unable to get local issuer certificate 解决思路

php会出现这种问题

解决办法:

访问https://curl.haxx.se/docs/caextract.html,下载cacert.pem,并在php.ini文件添加

curl.cainfo="E:/phpstudy_pro/Extensions/php/cacert.pem"
openssl.cafile="E:/phpstudy_pro/Extensions/php/cacert.pem"

  

 

posted on 2021-12-28 10:30  流星飞雨  阅读(64)  评论(0编辑  收藏  举报

导航