PHP 8.2 on RHEL 9
Posted: Wed Jan 08, 2025 11:21 am
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.
Does anyone have steps on using PHP8.2 (or above) with XI? This is on a clean install of RHEL 9.5.
Thanks.
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.shThanks.