file could not be downloaded:

发布时间:2020-07-14 23:46:32 作者:dfwasds
来源:网络 阅读:2125

composer require aws/aws-sdk-php时候报如下错!

[Composer\Downloader\TransportException]
The "https://packagist.laravel-china.org/p/aws/aws-sdk-php%249b148b0156ebe4ff27b810e1b682b39ba578f8a895daa3646554e0297d96e09d.json" file could not be downloaded: Peer certifica
te CN=*.phphub.org' did not match expected CN=packagist.laravel-china.org'
Failed to enable crypto
failed to open stream: operation failed

遇到这样的问题!
怎么解决?更换镜像!

composer config -g repo.packagist composer  https://mirrors.aliyun.com/composer/
composer require aws/aws-sdk-php
推荐阅读:
  1. MySQL查询优化的方式
  2. WinXP应该如何安装Apache+MySQL+PHP环境

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

peer certifica composer file could not be

上一篇:系统批量运维管理paramiko

下一篇:php 之命名空间

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》