It turns out the problem lies in the installation scripts of php-mysql and other extensions during the Ubuntu 25.04 installation.
They didn't copy all the files like mysqli.so to /etc/php/8.4/mods- available and then run phpenmod to copy them under apache and cli. Consequently 10-mysqlnd.ini did not run before 20-mysqli.ini So the bug is only in the pre or post install scripts, nothing else. -- 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