一、我先升级了thinkphp6.0到最新版本:
composer update topthink/framework
二、结果提示我composer版本过低,需要升级到2,于是我又升级了composer
composer self-update
三、我又升级了workerman:
composer require topthink/think-worker
四、执行php think worker:gateway -d报错
? fclose(): Argument #1 ($stream) must be of type resource, null given ?
五、在workerman论坛找到了答案,解决方案:https://www.workerman.net/q/6652
完美解决