dongpo9071
2018-01-13 16:37
浏览 586
已采纳

Composer安装失败

I'm trying to install composer in my Ubuntu 16.04 with PHP version 5.6.*.

I used:curl -sS https://getcomposer.org/installer | php. But it is giving me error as follows:

All settings correct for using Composer
Downloading...
The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream: Connection refused
Retrying...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Retrying...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
The download failed repeatedly, aborting.

I do not have composer installed previously.

图片转代码服务由CSDN问答提供 功能建议

我正在尝试使用 PHP版本在我的 Ubuntu 16.04 中安装composer 5.6。*

我用过: curl -sS https://getcomposer.org/installer | PHP 。 但它给我的错误如下:

 所有设置都正确使用Composer 
Downloading ... 
“https://getcomposer.org/versions”文件无法 下载:无法打开流:连接被拒绝
正在重试... 
无法下载“https://getcomposer.org/versions”文件:SSL操作失败,代码为1. OpenSSL错误消息:
error:1416F086:  SSL例程:tls_process_server_certificate:证书验证失败
无法启用加密
无法打开流:操作失败
正在重试... 
无法下载“https://getcomposer.org/versions”文件:SSL操作失败并带有代码 1. OpenSSL错误消息:
error:1416F086:SSL例程:tls_process_server_certificate:证书验证失败
无法启用加密
无法打开流:操作失败
下载失败重复,中止。
    
 
 

我之前没有安装过composer。

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

5条回答 默认 最新

相关推荐 更多相似问题