thinkphp6.0无法更新

浏览:1507 发布日期:2021/02/28 分类:ThinkPHP6专区
在根目录终端执行 composer update topthink/framework 报错

Loading composer repositories with package information
Composer 2 repository support for https://mirrors.cloud.tencent.com/composer has been disabled due to what seems like a misconfiguration. If this is a packagist.org mirror we recommend removing it as Composer 2 handles network operations much faster and should work fine without.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- topthink/think-swoole is locked to version v3.0.8 and an update of this package was not requested.
- topthink/think-swoole v3.0.8 requires ext-swoole >=4.4.8 -> it has the wrong version (2.2.0) installed. Install or enable PHP's swoole extension.

To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/72/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
最佳答案
评论() 相关
后面还有条评论,点击查看>>