刚安装的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 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
等下个workerman版本修复。另外webman最好不要用PHP8.2,很多第三方库不支持php8.2
php版本现在都是8.0左右,你那版本整那么高