解决方案:
1)下载cacert.pem
https://curl.haxx.se/ca/cacert.pem
2)打开php.ini 搜索curl.cainfo 与 openssl.cafile,将其配置成你自己cacert.pem文件的路径
例如:
curl.cainfo ="D:\wampserver\cacert.pem"
openssl.cafile="D:\wampserver\cacert.pem"
完成!
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!