Problem
Since the upgrade to UCS 5.2 all php packages have been removed. In UCS 5.2 Keyloak is used for SSO and therefore simpleSAMLphp is no longer supported
and all packages are removed during the upgrade.
Solution
If you still need PHP you can simply install them as follows, but please note that they are completely not supported.
apt install php8.2
dpkg -l | grep php
ii php8.2 8.2.26-1~deb12u1 all server-side, HTML-embedded scripting language (metapackage)
ii php8.2-cli 8.2.26-1~deb12u1 amd64 command-line interpreter for the PHP scripting language
ii php8.2-common 8.2.26-1~deb12u1 amd64 documentation, examples and common module for PHP
ii php8.2-opcache 8.2.26-1~deb12u1 amd64 Zend OpCache module for PHP
ii php8.2-readline 8.2.26-1~deb12u1 amd64 readline module for PHP
root@ucs5primary:~# php -v
PHP 8.2.26 (cli) (built: Nov 25 2024 17:21:51) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.26, Copyright (c) Zend Technologies
with Zend OPcache v8.2.26, Copyright (c), by Zend Technologies