mysqli doesnt work

Leap upgraded 15.1 -> 15.2 -> 15.3 -> 15.4. After last update phpMyAdmin stops working, glpi cannot be installed.
Investigation found:
php -v -> verze 7.3.1
php7 -v -> verze 7.4.25, (the same, as phpinfo() old version cannot be uninstalled, not visible for YAST. Files anually deleted

php -m

→ module mysqli listed,

get_loaded_extensions()

without mysqli extension

composer require mysqli

reports unknown module

New investigation:
phpinfo() displayed using Apache doesn show info about mysqli (displayed mbstring, next mysqlng)
phpinfo() displayed using PHP build-in server displays mbstring, mysqli and mysqlng sections
php config file is the same (copy of PHP production config)

Can you help me, please?

Thanks Mike

In

/etc/php7/apache2/php.ini

add mysqlnd

extension=mysqlnd 
extension=mysqli

Actually, although it won’t hurt to do it this way PHP already loads mysqli.so in

/etc/php7/conf.d/mysqli.ini

so the better way is to put the line

extension=mysqlnd

in

mysqli.ini

After doing this I noticed that if I run PHP from the command line I now get this warning:

PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0

This makes sense because I didn’t have the problem from the command line so this is a bug being the behavior is different from the command line vs through apache and there is no php.ini settings difference to cause this as far as I could tell.

which you could probably avoid by adding the line in:

/etc/php7/apache/php.ini