您好,欢迎访问一九零五行业门户网

composer 中国源更新出错

今天在服务器上运行
composer update
给我返回的提示是
> php artisan clear-compiled > php artisan optimize generating optimized class loader > php artisan ide-helper:generate a new helper file was written to _ide_helper.php loading composer repositories with package information [composer\downloader\transportexception] the "https://packagist.phpcomposer.com/packages.json" file could not be downloaded: peer certificate cn=`*.b0.upaiyun.com' did not match expected cn=`packagist.phpcomposer.com' failed to enable crypto failed to open stream: operation failed
不知道这是什么原因?是镜像有问题还是我本地的证书什么的有问题
看如下操作:
c:\upupw\htdocs\laravel>composer update loading composer repositories with package information updating dependencies (including require-dev) - removing illuminate/support (v5.2.37) - removing illuminate/contracts (v5.2.37) - removing illuminate/console (v5.2.37) - removing illuminate/cache (v5.2.37) - removing illuminate/http (v5.2.37) - removing illuminate/session (v5.2.37) - removing illuminate/config (v5.2.37) - removing illuminate/filesystem (v5.2.37) - removing illuminate/translation (v5.2.37) - removing illuminate/pipeline (v5.2.37) - removing illuminate/container (v5.2.37) - removing illuminate/routing (v5.2.37) - removing illuminate/events (v5.2.37) - removing illuminate/database (v5.2.37) writing lock file generating autoload files > illuminate\foundation\composerscripts::postupdate > php artisan optimize generating optimized class loader
其它类似信息

推荐信息