PHP 7.4 is EOL and I package.mask'd it yesterday, but grknight pointed out that mapserver still needs it for USE=php. It's likely that the current version of mapserver is compatible with php-8.x when the latest version of swig is used to generate the bindings. Can you please test and add the new php targets (8.0, 8.0, and 8.2) if they work? I'm going to package.use.mask the "php" flag in the meantime to help our users out.
commit 3bfdfe19c8b7c5ab0ca121ffbe4563f981196104 Author: David Seifert <soap@gentoo.org> Date: Fri Sep 15 09:51:58 2023 +0200 sci-geosciences/mapserver: remove PHP bindings Signed-off-by: David Seifert <soap@gentoo.org>