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)
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.