| Home »
Categories
» Products » Nagios XI » Documentation » Advanced Topics |
PHP 7.2 to 7.4 Upgrade Instructions for RHEL 8 & Oracle 8 |
|
Article Number: 915 | Rating: Unrated | Last Updated by sdemoret on Mon, Dec 22, 2025 at 12:29 PM
|
Purpose
This document is intended for use by Nagios Administrators who wish to update their version of php 7.2 to php 7.4 on a RHEL 8 or Oracle 8 systems.
RHEL 8/Oracle 8 PHP Upgrade process:
From the command line on the XI server:
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module list php
Disable the 7.2 module that is enabled:
dnf module reset php:7.2
dnf module list php
dnf module enable php:remi-7.4
dnf install php php-imap php-opcache php-devel php-gd php-ldap php-mbstring php-pdo php-pdo-dblib php-mysqlnd php-pgsql php-pear
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar zxf xi-latest.tar.gz
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
Restart httpd/php-fpm:
systemctl restart httpd php-fpm
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
Posted by: rspielman on Wed, Feb 2, 2022 at 9:13 AM. This article has been viewed 6612 times. Filed Under: Advanced Topics |
|
Have a question? Try our Forums! | Give Feedback |
0 (0)
Article Rating (No Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
Nagios XI - Cool Tips & Tricks - NWC14
Viewed 7093 times since Mon, Feb 8, 2016
Nagios XI - Special Characters
Viewed 28267 times since Tue, Apr 25, 2017
Nagios XI - Performance Data Averaging
Viewed 9870 times since Mon, Nov 6, 2017
Nagios XI - Using rrdcached with Nagios XI
Viewed 7238 times since Thu, Jan 28, 2016
Migrating Nagios XI to a different Server
Viewed 21761 times since Tue, Feb 16, 2021
Nagios XI - Scheduling Reports and Pages
Viewed 5287 times since Thu, Jan 28, 2016
|
|