Alpine 3.13: Nagios incompatible with php
Hi, Alpine 3.13 comes with nagios 4.4.6 and php7 7.4.14.
Doesn't work, there's error messages like 2021-01-30 21:30:44: (mod_fastcgi.c.495) FastCGI-stderr:PHP message: PHP Notice: Trying to access array offset on value of type bool in /usr/share/nagios/htdocs/includes/utils.inc.php on line 21
There's lots of reports about similar error messages for other software related with the step from php7.3 to php7.4.
Nagios webpage https://support.nagios.com/kb/article/nagios-xi-upgrading-to-php-7-860.html tells version compatibility is
Nagios XI is compatible with the following versions of PHP. 5.3, 5.4, 5.5, 5.6 | 7.0, 7.1, 7.2 (XI 5.5+) | 7.3 (XI 5.6.8+) | 7.4 (XI 5.7.0+)
Although this does not exactly contain a statement about Nagios 4, https://www.nagios.org/projects/nagios-core/history/4x/ tells that 4.4.6 from Apr 2020 was the last 4x version.
Maybe there's just no nagios 4x compatible with php7.4.