版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/u011415782/article/details/102482034
ThinkPHP5.1.2
框架中,使用 composer
命令安装 workerMan
拓展的时候所提示的信息
composer require topthink/think-worker=v2.0.9
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: topthink/think-installer[v2.0.0, v1.0.12].
- Can only install one of: topthink/think-installer[v2.0.0, v1.0.12].
- Can only install one of: topthink/think-installer[v2.0.0, v1.0.12].
- topthink/think-worker v2.0.9 requires topthink/think-installer ^2.0 -> satisfiable by topthink/think-installer[v2.0.0].
- Installation request for topthink/think-worker v2.0.9 -> satisfiable by topthink/think-worker[v2.0.9].
- Installation request for topthink/think-installer (locked at v1.0.12) -> satisfiable by topthink/think-installer[v1.0.12].
Installation failed, reverting ./composer.json to its original content.
v2.0.0, v1.0.12
的其中一个;
也就是说,当前的 ThinkPHP
框架太低,不足以满足 v2.0.9
版本的 workerMan;
解决方案就是: 安装一个较低版本的 workerMan呗!