解决thinkPHP5.1安装swoole的问题
2022-07-28 14:14:58
131
{{single.collect_count}}

出现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.*
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}