PHP 7.1.8RC1 运行sudo php demo-telnet.php start 报错
zsyprince opened this issue · comments
zuosongyan commented
环境介绍
linux版本:CentOS release 6.9
php:PHP 7.1.8RC1
MeepoPS:最新的,截止到发问前
问题
运行 sudo php demo-telnet.php start 报错,如下
[INFO][2017-09-05 17:45:12][15356]MeepoPS check shutdown reason
[ERROR][2017-09-05 17:45:12][15356]stream_socket_serverMeepoPS unexpectedly quits. last error: {"type":64,"message":"Redefinition of parameter $_null","file":"\/home\/zuosongyan\/web\/MeepoPS\/MeepoPS\/Core\/Event\/Libevent.php","line":155}
^C[INFO][2017-09-05 17:45:12][14024]MeepoPS is stopping...
[ERROR][2017-09-05 17:45:12][14024]MeepoPS instance(MeepoPS-Telnet:15356) exit. Status: 65280
[INFO][2017-09-05 17:45:12][14024]MeepoPS has been pulled out
Lane commented
文件:/home/zuosongyan/web/MeepoPS/MeepoPS/Core/Event/Libevent.php
行数:155
修改为:Lipublic function timerCallback($_null1, $_null2, $timerId)
在dev分支里这个很早就改过,只是一直没有merge。辛苦自己改一下,感谢支持
zuosongyan commented
ok了,多谢!