v2.0.0-beta.3版本,创建进程守护之后,启动报错,

Hyperf项目,由于容器自带的swoole缺少swoole_curl,自己在容器内手动编译安装了swoole6.0.2,项目启动和运行都正常,
在创建进程守护启动时报错:Fatal error: Uncaught Error: Undefined constant “SWOOLE_HOOK_ALL” in /www/sites/apiadminwbst/index/api/bin/hyperf.php:13
Stack trace: 应该是找不到swoole的扩展,请问如何处理?

往上顶一下,希望开发者能看到哦,
运行日志:


容器中swoole扩展截图

进程守护配置看一下

配置如下

image
容器中执行这个看看

进程守护中的 php 填全路径试试

您是说这样么?php /www/sites/apiwbst/index/api/bin/hyperf.php start

是的 zsbd

配置文件:


错误日志:

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()
#1 {main}
  thrown in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php on line 23

Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/gd.so (libpng16.so.16: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/gd.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20220829/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/imagick (/usr/local/lib/php/extensions/no-debug-non-zts-20220829/imagick: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/imagick.so (libMagickWand-6.Q16.so.6: cannot open shared object file: No such file or directory)) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/zip.so (libzip.so.4: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20220829/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Fatal error: Uncaught Hyperf\Engine\Exception\RuntimeException: The ext-swoole is required. in /www/sites/apiwbst/index/api/vendor/hyperf/engine/src/DefaultOption.php:23
Stack trace:
#0 /www/sites/apiwbst/index/api/bin/hyperf.php(21): Hyperf\Engine\DefaultOption::hookFlags()