CURL:SSL certificate problem: unable to get local issuer certificate

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/eddy23513/article/details/84650263

解决办法:

到http://curl.haxx.se/ca/cacert.pem下载pem文件,并将文件拷贝到D:\phpStudy\PHPTutorial\cacert.pem

在php.ini
增加
curl.cainfo = “D:\phpStudy\PHPTutorial\cacert.pem”

猜你喜欢

转载自blog.csdn.net/eddy23513/article/details/84650263