Icingaweb2 seeing wrong PHP version

After upgrading Icingaweb2 to 2.11.1 the web interface no longer loads.

The error message is: Fatal error : Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.2.0”. You are running 7.1.30. in /usr/share/icinga-php/ipl/vendor/composer/platform_check.php on line 24

From the command line:

php -v
PHP 7.2.34 (cli) (built: Jun 7 2022 12:37:48) ( NTS )

In httpd:

PHP Version 7.2.34

I’m using httpd to serve icingaweb2 so I have no idea how it could be possibly seeing 7.1.30 if httpd sees 7.2.34

Does anyone know how it is finding the wrong version?

php-fpm was running a different version of PHP than the built in apache module and also the cli. CentOS is so frustrating…

It’s fixed now on my end though, enjoy.