webman + Gateway 报错 exit with status

webmanchin

问题描述

刚安装的webman 和 Gateway
退出会报错 exit with status 2
重载代码会报错 exit with status 10

程序代码

cd /root
composer create-project workerman/webman -q
cd /root/webman
composer require webman/gateway-worker -q
cd /root/webman && php start.php start

报错信息

Workerman[start.php] reloading
worker[webman:300872] exit with status 2
worker[monitor:302342] exit with status 10
worker[plugin.webman.gateway-worker.gateway:302346] exit with status 10
worker[plugin.webman.gateway-worker.gateway:302353] exit with status 10

截图报错信息里报错文件相关代码

操作系统及workerman/webman等框架组件具体版本

Workerman version:4.1.6          PHP version:8.2

PHP 8.2.1 (cli) (built: Jan 13 2023 10:38:46) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.1, Copyright (c), by Zend Technologies
141 2 0
2个回答

walkor

等下个workerman版本修复。另外webman最好不要用PHP8.2,很多第三方库不支持php8.2

  • 暂无评论

php版本现在都是8.0左右,你那版本整那么高

  • 暂无评论
🔝