[root@localhost tp6]# php think worker:gateway
Starting GatewayWorker server...
Workerman[think] start in DEBUG mode
-------------------------------------------- WORKERMAN ---------------------------------------------
Workerman version:3.5.29 PHP version:7.4.3
--------------------------------------------- WORKERS ----------------------------------------------
proto user worker listen processes status
tcp root Register text://127.0.0.1:1236 1 [OK]
tcp root BusinessWorker none 1 [OK]
tcp root thinkphp websocket://0.0.0.0:2348 1 [OK]
----------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.开启另一个终端,想查看workerman状态,不能监控,显示workerman未运行,但是我明明跑起来了[root@localhost tp6]# php think worker:gateway status
Workerman[think] status
Workerman[think] not run 最佳答案