While installing Icinga Web on RHEL 8 using Apache httpd as my web server with PHP-FPM as recommended in the installation documentation, I encountered a problem. By default, the PHP-FPM installed as a dependency on RHEL 8 from the stock repos by running
dnf install icingaweb2 icingacli listens on a Unix domain socket at/run/php-fpm/www.sock, whereas the supplied Apache configuration expects it to be listening on localhost:9000; see line 54 of /etc/httpd/conf.d/icingaweb2.conf, which reads:
To work out of the box, it should be:
Alternately, I suppose an alternate PHP-FPM configuration could be supplied, but I didn’t research that option; anyway using the default Unix-domain socket is likely to be more performant, though I haven’t measured it at all. Thanks and please let me know if I need to follow this up or file this report elsewhere.