FreeBSD 12 PHP 8.0.0 起动不了 Workerman
Workerman[start.php] start in DEBUG mode
------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:4.0.17 PHP version:8.0.1
-------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
tcp root ApisBusiness none 1 [OK]
tcp root ApisGateway text://0.0.0.0:5850 2 [OK]
tcp root ApisRegister text://0.0.0.0:5800 1 [OK]
tcp root ApiWebSocket websocket://0.0.0.0:5818 1 [OK]
--------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
Warning: stream_socket_client(): Unable to connect to tcp://127.0.0.1:5800 (Connection refused) in /usr/home/Worker/Workerman/Connection/AsyncTcpConnection.php on line 190
Warning: stream_socket_client(): Unable to connect to tcp://127.0.0.1:5800 (Connection refused) in /usr/home/Worker/Workerman/Connection/AsyncTcpConnection.php on line 190
4个回答
年代过于久远,无法发表回答
我更新了一下就正常使用了。
再试又不行,不知道怎么回事
贴下start_xxxgateway.php 内容
@walkor: 麻烦帮我看下,配置应该没错吧。
ApiWebSocket 5818 端口的启动文件也贴下
@1:在目录产生一个文件 php.core 一下子好几百M了
@walkor:
start_register.php 里加一行代码
试下
可以运行了,感谢!