Windows 下安装或运行composer出现错误

2024-01-13 23:29 1595 浏览
评论(0
字体大小:

错误代码 : 

      E:\data\www\symfony-2.5.6>php -f D:/wamp/php-5.6.2-x64/composer.phar installLoading composer repositories with package informationInstalling dependencies (including require-dev)SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed”

主要原因是没有安装CA证书导致的!!!

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

修改php.ini 文件

添加一行openssl.cafile= D:/wamp/php-5.6.2-x64/verify/cacert.pem

本文发布于程序达人 ,转载请注明出处,谢谢合作

0 人认为有用
0 评论

相关热点文章推荐

程序达人 - chengxudaren.com

一个帮助开发者成长的社区

相关文章