Checked the logs, let me know if you want the complete files and I will upload, but it seems this bit may give a clue:
Start-Date: 2025-04-07 23:47:46
Commandline: apt-get -y install apache2 apache2-bin apache2-data apache2-suexec-custom apache2-utils linux-generic linux-headers-generic linux-image-generic linux-libc-dev php-cgi php-cli php-common php-fpm php-mbstring php-mysql php-xml
Install: php8.4-mbstring:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), php8.4-xml:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), php8.4-readline:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), linux-modules-extra-5.15.0-136-generic:amd64 (5.15.0-136.147, automatic), linux-headers-5.15.0-136-generic:amd64 (5.15.0-136.147, automatic), linux-headers-5.15.0-136:amd64 (5.15.0-136.147, automatic), php8.4-mysql:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), php8.4-opcache:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), php8.4-common:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), linux-image-5.15.0-136-generic:amd64 (5.15.0-136.147, automatic), linux-modules-5.15.0-136-generic:amd64 (5.15.0-136.147, automatic), php8.4-cgi:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), php8.4-cli:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic), php8.4-fpm:amd64 (8.4.5-1+ubuntu22.04.1+deb.sury.org+1, automatic)
Upgrade: linux-headers-generic:amd64 (5.15.0.135.133, 5.15.0.136.134), php-common:amd64 (2:95+ubuntu22.04.1+deb.sury.org+2, 2:96+ubuntu22.04.1+deb.sury.org+1), apache2-suexec-custom:amd64 (2.4.52-1ubuntu4.13, 2.4.52-1ubuntu4.14), linux-generic:amd64 (5.15.0.135.133, 5.15.0.136.134), apache2-data:amd64 (2.4.52-1ubuntu4.13, 2.4.52-1ubuntu4.14), apache2-bin:amd64 (2.4.52-1ubuntu4.13, 2.4.52-1ubuntu4.14), php-mbstring:amd64 (2:8.3+95+ubuntu22.04.1+deb.sury.org+2, 2:8.4+96+ubuntu22.04.1+deb.sury.org+1), php-cgi:amd64 (2:8.3+95+ubuntu22.04.1+deb.sury.org+2, 2:8.4+96+ubuntu22.04.1+deb.sury.org+1), php-cli:amd64 (2:8.3+95+ubuntu22.04.1+deb.sury.org+2, 2:8.4+96+ubuntu22.04.1+deb.sury.org+1), php-fpm:amd64 (2:8.3+95+ubuntu22.04.1+deb.sury.org+2, 2:8.4+96+ubuntu22.04.1+deb.sury.org+1), php-mysql:amd64 (2:8.3+95+ubuntu22.04.1+deb.sury.org+2, 2:8.4+96+ubuntu22.04.1+deb.sury.org+1), linux-image-generic:amd64 (5.15.0.135.133, 5.15.0.136.134), php-xml:amd64 (2:8.3+95+ubuntu22.04.1+deb.sury.org+2, 2:8.4+96+ubuntu22.04.1+deb.sury.org+1), apache2-utils:amd64 (2.4.52-1ubuntu4.13, 2.4.52-1ubuntu4.14), apache2:amd64 (2.4.52-1ubuntu4.13, 2.4.52-1ubuntu4.14), linux-libc-dev:amd64 (5.15.0-135.146, 5.15.0-136.147)
End-Date: 2025-04-07 23:48:24
I may want to point out that the fact that the system installed php8.4 (even if not requested) does not bother me too much, I am more worried by the fact that php_cli stopped working after the update. All users/sites/profiles were set to php8.3 (or in a couple of cases an older php7.4 version), php-v showed it was using the correct version but the only way to get php_cli back running was to remove 8.4. I may try adding php_8.4 using the proper multi-php webmin repo to avoid the same problem in the future
Hope this helps