方法一:在启动workerman的终端输入fg(发送SIGCONT信号)然后回车,将workerman切回前台运行,按ctrl c(发送SIGINT信号)停止workerman。
方法二:如果无法停止,尝试运行以下两条命令:
killall -9 php
ps aux|grep -i workerman|awk '{print $2}'|xargs kill -9
上一篇:swoole中task如何使用
下一篇:workerman怎么安装