Windows 下安装或运行composer出现错误
错误代码 :
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
本文发布于程序达人 ,转载请注明出处,谢谢合作
共同学习,写下你的评论
相关热点文章推荐
Spring Boot文档翻译【转】
Spring Boot报java.lang.IllegalArgumentException:Property 'sqlSessionFactory' or 'sqlSessionTemplate'
SpringBoot 2.0 报错: Failed to configure a DataSource: 'url' attribute is not specified and no embe...
UploadiFive Documentation (api 说明文档)
svn: 目录中的条目从本地编码转换到 UTF8 失败 解决办法
解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile办法
程序达人 - chengxudaren.com
一个帮助开发者成长的社区