今天在THINKPHP5上安装Workerman时报
Problem 1 - topthink/think-worker v3.0.5 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.0.5] but these conflict with your requirements or minimum-stability. - topthink/think-worker v3.0.4 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.0.5] but these conflict with your requirements or minimum-stability. - topthink/think-worker v3.0.3 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.0.5] but these conflict with your requirements or minimum-stability. - topthink/think-worker v3.0.2 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.0.5] but the - topthink/think-worker v3.0.1 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.0.5] but these conflict with your requirements or minimum-stability. - topthink/think-worker v3.0.0 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.0.5] but these conflict with your requirements or minimum-stability. - Installation request for topthink/think-worker ^3.0 -> satisfiable by topthink/think-worker[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5]. Installation failed, reverting ./composer.json to its original content.
找了很多方法 最后发现是安装版本的问题,执行以下命令安装成功
composer require topthink/think-worker=1.0.* -vvv