在tp6多应用模式中运行php think worker:gateway 终端一直打印:worker[BusinessWorker:7215] exit with status 11 是什么问题啊?

小涛

按照tp6官方文档安装workerman后并运行
运行 php think worker:gateway 终端无限打印:worker[BusinessWorker:7081] exit with status 11
还有运行php think worker 终端无限打印:worker[thinkphp:7358] exit with status 11
在本地mac上 链接对应的ip地址与端口链接不上
但是使用 php think worker:server 正常显示,也可以链接上,
请问前面是什么原因照常的?没改workerman中的任何代码

找了好久还没解决,想使用长链接 gateway的,大佬们有知道原因的吗

2724 1 0
1个回答

walkor

分别运行 php -v php -m 粘贴下。

exit with status 11 是发生了coredump,一般是用了不稳定的php版本或者不稳定的php扩展导致。

  • 小涛 2020-05-17

    谢谢,我发现问题了,是因为安装了tp验证码的扩展后导致的, 现在只能不用tp提供的验证码扩展了

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