Peter·Python 2020-10-20 14:53:132楼
以下是执行过程
[root@debian thinkphp]# composer update
Loading composer repositories with package information
Warning from https://mirrors.aliyun****/composer: You are using an outdated version of Composer. Composer 2.0 is about to be released and the older 1.x releases will self-update directly to it once it is released. To avoid surprises update now to the latest 1.x version which will prompt you before self-updating to 2.x.
Updating dependencies (including require-dev)
Package operations: 0 installs, 5 updates, 1 removal
- Removing opis/closure (3.5.7)
- Updating topthink/think-orm (v2.0.33 => v2.0.34): Downloading (100%)
- Updating symfony/var-dumper (v4.4.13 => v4.4.15): Downloading (100%)
- Updating league/mime-type-detection (1.4.0 => 1.5.1): Downloading (100%)
- Updating topthink/framework (v6.0.3 => v6.0.4): Downloading (100%)
- Updating topthink/think-trace (v1.3 => v1.4): Downloading (100%)
Writing lock file
Generating autoload files
> @php think service:discover
Succeed!
> @php think vendor:publish
File /***/admin/thinkphp/config/trace.php exist!
Succeed!
6 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[root@debian thinkphp]#
赞 +添加回复
Peter·Python 2020-10-20 14:20:421楼
你不能自己更新的,只能官方来更新,自己安装的composer和一键安装的不一样
赞 +添加回复