1.下载pem文件
http://curl.haxx.se/ca/cacert.pem
2.拷贝文件到(基于PHPStudy)
D:\phpStudy\phpstudy_pro\Extensions\php\php7.0.9nts\ssl
3.修改php.ini配置文件
curl.cainfo ="D:\phpStudy\phpstudy_pro\Extensions\php\php7.0.9nts\ssl\cacert.pem"
4.重启apache,即可
1.下载pem文件
http://curl.haxx.se/ca/cacert.pem
2.拷贝文件到(基于PHPStudy)
D:\phpStudy\phpstudy_pro\Extensions\php\php7.0.9nts\ssl
3.修改php.ini配置文件
curl.cainfo ="D:\phpStudy\phpstudy_pro\Extensions\php\php7.0.9nts\ssl\cacert.pem"
4.重启apache,即可