执行 php start.php stop 报错:

Workerman stop
Workerman is stoping ...
Workerman stop fail

停止不了,用 restart 重启也不行。

查看到 php start.php stop命令无效? 的帖子,里面提到有可能是失误按了ctrl+z 把进程挂起了。

ps aux | grep php 找到 workerman 进程,kill -9 xxx 关闭进程即可。