thinkphp内置集成workerman以守护进程方式运行

一般启动方式

php think worker:server

支持的操作包括:

操作 描述
start 启动服务(默认操作)
reload 平滑重启
stop 停止服务
restart 重启服务
status 查看服务运行信息
connections 查看连接信息

如停止服务 

php think worker stop

 守护进程启动(Linux支持)

php think worker:server -d

发布了85 篇原创文章 · 获赞 45 · 访问量 95万+

猜你喜欢

转载自blog.csdn.net/flysnownet/article/details/99406671