workerman-chat在window下启动的问题

左手哥

我在window下载安装了workerman-chat php用的phpstudy,然后启动的是php5.6,环境变量也配置了,访问http://127.0.0.1:55151/?room_id=4,可以发送消息,start_for_win.bat也点击启动了
用 php start.php start启动时报
start.php not support windows, please use start_for_win.bat
请问是为什么,谢谢

3628 2 0
2个回答

左手哥

请问是不是windows系统下无法使用 start stop reload status 等命令

blogdaren

首先提示信息已经足够清晰:
start.php 启动脚本是为Linux平台设计;
start_for_win.bat 启动脚本是为Windows平台设计;

至于原因就是:
windows不支持多进程、而且也不支持start|stop|status等系列指令,而且也不支持在一个脚本中初始化多个监听【比如workerman-chat这样的脚本环境】

年代过于久远,无法发表回答
🔝