php ssl连接失败,无法使用PHP 5.6.3与Composer建立SSL连接

在使用

PHP 5.6.3在Ubuntu 14.04上克隆存储库后,我无法运行PHP composer.phar selfupdate,也无法运行PHP composer.phar update.我收到这条消息:

[Composer\Downloader\TransportException]

The "https://getcomposer.org/version" file could not be downloaded: SSL ope

ration Failed with code 1. OpenSSL Error messages:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify

Failed

Failed to enable crypto

Failed to open stream: operation Failed

我认为问题应该是我本地的证书,但我无法想象如何解决它.

这是composer.json:

{

"name": "zendframework/skeleton-application","description": "Skeleton Application for ZF2","license": "BSD-3-Clause","keywords": [

"framework","zf2"

],"homepage": "http://framework.zend.com/","require": {

"PHP": ">=5.3.3","zendframework/zendframework": "2.3.*","evandotpro/edp-module-layouts": "1.*","tecnick.com/tcpdf": "~6.0@stable","PHPoffice/PHPexcel": "1.7.*"

},"require-dev": {

"PHPunit/PHPunit": "4.1.*","PHPunit/PHPunit-selenium": ">=1.2"

},"autoload": {

"psr-0": {"BOZA\\": "vendor/BOZA/"},"classmap": ["vendor/tecnick.com/tcpdf"]

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值