You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I now load only PHP + mysqlnd, I get the following errors
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqlnd.so' (tried: /usr/lib/php/modules/mysqlnd.so (/usr/lib/php/modules/mysqlnd.so: undefined symbol: EVP_PKEY_CTX_new), /usr/lib/php/modules/mysqlnd.so.so (/usr/lib/php/modules/mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Don't enable that option when openssl is shared or link mysqlnd to libcrypto.so because LD_PRELOAD=/usr/lib/libcrypto.so.3 php -v fixes it to fix up the implict library
PHP Version
PHP 8.3.17
Operating System
No response
The text was updated successfully, but these errors were encountered:
I suspect curl and ftp are also affected since they seem have their build scripts check and include OpenSSL in a similar way (PHP_SETUP_OPENSSL into the *_SHARED_LIBADD). phar seems to explicitly demand that the openssl extension is built shared to use OpenSSL there, but I don't see any referencing of OpenSSL in the build otherwise, so phar may also be affected here.
Description
I am building every PHP extension shared like
When I now load only PHP + mysqlnd, I get the following errors
This seems to happen because of https://github.com/php/php-src/blob/master/ext/mysqlnd/config9.m4#L12-L20
I think here are two ways how this can be fixed:
Don't enable that option when openssl is shared or link mysqlnd to
libcrypto.so
becauseLD_PRELOAD=/usr/lib/libcrypto.so.3 php -v
fixes it to fix up the implict libraryPHP Version
PHP 8.3.17
Operating System
No response
The text was updated successfully, but these errors were encountered: