当前位置:首页 > admin > 正文

IM-Swoole的命令文档

admin · May 01, 2025

  1. Windows不支持swoole**,请在LinuxmacOS等支持swoole的服务器上使用IM系统**

  2. cd 到FastAdmin根目录,也就是think文件所在的目录

  3. 请确保php已经加入到系统环境变量,否则会提示找不到该命令

  4. 已安装好swoole扩展,安装

命令

  • 以debug(调试)方式启动(关闭终端或ctrl+c,服务自动退出)

    php think fastim start

  • 以daemon(守护进程)方式启动

  • php think fastim start -d

  • 停止服务

  • php think fastim stop

  • 平滑重启

  • php think fastim reload