Laravel 安装依赖或者更新的时候 执行 Composer update 无法加载框架
执行composer update 提示是这样的结果,按照其他的扩展包的时候也是这样,不知道是哪里出问题了,提示是OpenSSL出问题了,但是我实在不知道该怎么解决。
我用的是xmapp + laravel 5.5
λ composer update
The "https://packagist.laravel-china.org/packag..." file could not be downloaded: SSL operation 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
https://packagist.laravel-china.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Loading composer repositories with package information
The "https://packagist.laravel-china.org/packag..." file could not be downloaded: SSL operation 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
https://packagist.laravel-china.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
Nothing to install or update
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon...
You can run ".\vendor\bin\upgrade-carbon" to get help in updating carbon and other frameworks and libraries that depend on it.
Illuminate\Foundation\ComposerScripts::postUpdate
php artisan optimize
请问是不是升级以下xmapp 最新版本的,还会出现这个问题吗?我不知道问题症结在哪里,请教大家了。
我已经大约好几个月没有更新依赖的,突然出现这个问题,我搞了很久也没有搞定;我是本打算安装swool的,解决过程中,总是不顺利,故不得不再这里提问,向大家请教。
社区镜像已经不维护了,更换镜像源到阿里吧。
详情见此贴:博客:Laravel China 镜像完成历史使命,将于两个月后停用