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