解决Windows下运行php Composer出现SSL报错的问题
2015-11-23 09:59
696 查看
解决Windows下运行php Composer出现SSL报错的问题
2015-01-14 20:05在windows下运行composer却出现SSL报错:
E:\www>php -f composer.phar install Loading composer repositories with package information Installing 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:/xampp/php-5.6/cacert.pem
相关文章推荐
- php生成4位数字验证码的实现代码
- PHP错误处理和日志函数 及函数名
- php解决问题的方法
- 一个经典的PHP文件上传类
- 3种php生成唯一id的方法
- Laravel中运行Gulp任务的利器 —— Laravel Elixir简介及入门教程
- php中的$_FILES
- [Windows Server 2003] IIS自带FTP安装及配置方法
- php命令行(cli)模式下报require 加载路径错误的解决方法
- PHP常用工具类大全
- Matplot使用笔记
- zabbix使用脚本发送外网邮件告警(msmtp + mutt)
- 如何设置一个严格30分钟过期的Session
- ubuntu安装php-cgi
- thinkphp3.2 留言板内容提交到数据库
- thinphp3.2 表格案例
- php调试JS输出变量
- php命令行(cli)模式下报require 加载路径错误的解决方法
- 3种php生成唯一id的方法
- php生成4位数字验证码的实现代码