ssl证书
1.从https://curl.haxx.se/ca/cacert.pem下载最新的cacert.pem并放到php的\extras\ssl目录下
2.将以下行添加到php.ini curl.cainfo=/path/to/downloaded/cacert.pem 例如:
curl.cainfo = "E:\phpStudy\PHPTutorial\php\php-7.1.13-nts\extras\ssl\cacert.pem"
1.从https://curl.haxx.se/ca/cacert.pem下载最新的cacert.pem并放到php的\extras\ssl目录下
2.将以下行添加到php.ini curl.cainfo=/path/to/downloaded/cacert.pem 例如:
curl.cainfo = "E:\phpStudy\PHPTutorial\php\php-7.1.13-nts\extras\ssl\cacert.pem"