PHP 8.2 on RHEL 9

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
logisbk
Posts: 17
Joined: Mon Nov 08, 2021 1:00 pm

PHP 8.2 on RHEL 9

Post by logisbk »

I am working on migrating our current CentOS 7 NagiosXI server to a new RHEL 9 server. The server is up and running, but as soon as I install XI (version 2024R1.1.5 as to match our current prod server, which is the highest version supported), PHP v8.0 is used, which is not supported.

Per support, if PHP is upgraded to 8.2, the php-pecl-ssh2 package needs to be removed, which breaks functionality of the Scheduled Backups page.

I've attempted to use the remi-repo to install 8.2 but after performing that, the /nagiosxi/ webpage doesn't load. Below is the commands from support after installing 8.2 from remi.

Code: Select all

cd /tmp/nagiosxi
rm -rf /etc/php.d/sourceguardian.ini
./init.sh
sed -i '/^PHP script/d' xi-sys.cfg
sed -i '/^1)/d' xi-sys.cfg
sed -i '/^2)/d' xi-sys.cfg
sed -i '/^3)/d' xi-sys.cfg
./install-sourceguardian-extension.sh
Does anyone have steps on using PHP8.2 (or above) with XI? This is on a clean install of RHEL 9.5.

Thanks.
DoubleDoubleA
Posts: 131
Joined: Thu Feb 09, 2017 5:07 pm

Re: PHP 8.2 on RHEL 9

Post by DoubleDoubleA »

Hi @logisbk,

As you are working with support, we won't have the Nagios dev staff reply here, but the community is welcome to chime in.

Aaron
Post Reply