cURL error 60: SSL certificate problem: unable to get local issuer certificate 报错解决

解决办法:

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

curl.cainfo="D:/phpstudy_pro/Extensions/php/php7.3.9nts/extras/ssl/cacert.pem"

openssl.cafile="D:/phpstudy_pro/Extensions/php/php7.3.9nts/extras/ssl/cacert.pem"

猜你喜欢

转载自www.cnblogs.com/starshine-zhp/p/12944169.html