ubuntu22
使用debug模式正常啟動
sudo -u www-data php start.php start
使用DAEMON模式提示 Workerman[start.php] start in DAEMON mode 但是程序卻沒有運行
sudo -u www-data php start.php start -d
沒有報錯但是進程不啟動 webman.pid正常會生成
執(zhí)行 strace -f sudo -u www-data php start.php start -d
找下錯誤
PHP 8.3.13 (cli) (built: Oct 30 2024 11:27:41) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.13, Copyright (c) Zend Technologies
with Zend OPcache v8.3.13, Copyright (c), by Zend Technologies
不確定
執(zhí)行 strace -f sudo -u www-data php start.php start -d 會打印系統(tǒng)調(diào)用,找下錯誤