- changed status to on hold
pecl-event problem
Issue #43
closed
i use pecl install event to build this extetion,but when i start the fpm,it show this error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/event.so' - Error relocating /usr/lib/php7/modules/event.so: bufferevent_openssl_get_allow_dirty_shutdown: symbol not found in Unknown on line 0
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
bufferevent_openssl_get_allow_dirty_shutdown
function is introduced in Libevent version 2.1.1-alpha. The extension's code has special compile-time checks for this case. So I guess your PHP-FPM environment loads another version of libevent library.Check if event works in command line interface. Make sure that the PHP-FPM environment uses the same version of libevent as the one used for building the ext in command line. Look at the shared object dependencies with the following command:
Note that event extension is designed primarily for CLI, even if you manage to run it in other SAPIs.