运行composer udpate出现ssl错误

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

今天在执行composer udpate时候,出现报错如下:


网上查了一下,发现是没有安装CA证书导致的!!!

CA证书下载地址:http://curl.haxx.se/docs/caextract.html

然后修改php.ini,

openssl.cafile = /xxxx/xxxx/cacert.pem(证书所在路径),好composer update 正常!

猜你喜欢

转载自blog.csdn.net/u011323949/article/details/80057373