Public bug reported: After upgrading to Ubuntu 25.04, MySQL has stopped working in PHP pages on Apache2.
I edited php.ini to explicitly load mysqli, mysqlnd and pdo_mysql extensions. Only mysqlnd was loaded. In the apache2/error.log I got: PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/lib/php/20240924/mysqli.so (/usr/lib/php/20240924/mysqli.so: undefined symbol: mysqlnd_global_stats) PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/lib/php/20240924/pdo_sqlite.so (/usr/lib/php/20240924/pdo_sqlite.so: undefined symbol: pdo_dbh_ce) When I tried to view http://localhost/adminer-5.3.0-mysql.php, after entering login credentials I got the message: None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available. So PHP code that expects mysqli to be working cannot find it (and the old mysql extension is now called mysqlnd). That stops anything like phpMyAdmin working (although that also fails because the supplied Symfony 6 is not compatible with PHP 8.4) ProblemType: Bug DistroRelease: Ubuntu 25.04 Package: php8.4-mysql 8.4.5-1ubuntu1 ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 Uname: Linux 6.14.0-15-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.32.0-0ubuntu5 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE Date: Fri May 16 13:42:57 2025 InstallationDate: Installed on 2020-10-26 (1663 days ago) InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022) SourcePackage: php8.4 UpgradeStatus: Upgraded to plucky on 2025-05-15 (2 days ago) ** Affects: php8.4 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug plucky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2111102 Title: php 8.4 fails to load mysql extensions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php8.4/+bug/2111102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs