解决thinkPHP5.1安装swoole的问题
2023-03-29 23:03:03
360
0

出现The "topthink/think-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0")

解决步骤:

①清除composer之前的镜像:composer config -g --unset repos.packagist

②更新thinkPHP版本:composer update topthink/framework  --no-plugins

③重新安装swoole插件:

composer require topthink/think-swoole=2.0.*
全部回帖(0)
加载中...