NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
1、打开宝塔面板,点击站点,进入站点根目录 ![](https://img.kancloud.cn/5f/a8/5fa89c9e768b2f3e0f4b662f26f82519_1011x669.png) 2、点击终端按钮 ![](https://img.kancloud.cn/2c/75/2c75bd2bb0390a2e2f9c0aaf63723c99_827x394.png) 3、然后在宝塔终端面板,输入:php think worker:server -d 4、然后点击键盘回车键,即可开启服务 #### **备注:** #### 一般启动方式 php think worker:server 停止服务 php think worker stop #### 守护进程启动开启服务: php think worker:server -d 修改代码就要重启服务 ~~~powershell php think worker:server stop 或者 php think stop php think worker:server -d ~~~