84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
phpsocketio是基于workerman的我从github上下载了源码,修改了逻辑能跑起来启动方式如果是php server.php restartphp server.php start
这样启动的话 是能接受能转发消息的但是我如果是用php server.php start -d这样反而不行了 客户端刚连接上就断开了
我想问一下 用 start启动和start -d启动区别在哪里
我总不能让php server.php start放在那里吧
Finally the problem was found because Workerman must use its own mysql frameworkIf you use other frameworks, the running result will be like a script running from beginning to end, so the database object cannot be persisted
So you only need to install workerman/mysql
start -d is to start the daemon process
Finally the problem was found because Workerman must use its own mysql framework
If you use other frameworks, the running result will be like a script running from beginning to end, so the database object cannot be persisted
So you only need to install workerman/mysql
start -d is to start the daemon process