这是php设置openssl 没有指定cacert.pem (证书)

第一步:下载 cacert.pem

文件下载地址

https://curl.haxx.se/docs/caextract.html

第二步:打开PHP配置文件php.ini

php.ini末尾加上一句

openssl.cafile= D:/phpStudy/cacert/cacert.pem

保存文件

重启服务器

ok 搞定

 

相关文章: