rryqszq4 / ngx-php

ngx-php - Embedded php7 or php8 scripting language for nginx module. Mainline development version of the ngx-php.
BSD 2-Clause "Simplified" License
584 stars 56 forks source link

undefined symbol: DTRACE_EXCEPTION_THROWN_ENABLED #47

Closed kjdev closed 5 years ago

kjdev commented 5 years ago

Module loading error when dtrace is enabled in php configure.

$ php-config --configure-options
.. --enable-dtrace ..
$ nginx -t
nginx: [emerg] dlopen() "/usr/lib64/nginx/modules/ngx_http_php_module.so" failed (/usr/lib64/nginx/modules/ngx_http_php_module.so: undefined symbol: DTRACE_EXCEPTION_THROWN_ENABLED) in /usr/share/nginx/modules/php.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed

there is no problem if there is no --enable-dtrace option.

rryqszq4 commented 5 years ago

@kjdev Thanks report, fixed in https://github.com/rryqszq4/ngx_php7/commit/31f4be0c9a6fcb77a6f9cb9584d1e5e159847cab

kjdev commented 5 years ago

Thanks. Confirmed that the error was gone.