tp5.1升级

# php think version
v5.1.23

# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 2 updates, 0 removals
  - Installing topthink/think-installer (v2.0.0): Loading from cache
  - Updating psr/log (1.0.2 => 1.1.0): Downloading (100%)         
  - Updating monolog/monolog (1.23.0 => 1.24.0): Downloading (100%)         
  - Installing topthink/framework (v5.1.30): Downloading (100%)         
Writing lock file
Generating autoload files

# php think version
v5.1.30 LTS

一步操作,内核直接升级到最新的5.1.30

或者单独针对框架进行升级

# composer update topthink/framework
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

posted @ 2018-12-06 09:54  TBHacker  阅读(1139)  评论(0编辑  收藏  举报