Upgrade PHP from 7.2 to 7.4 on RHEL 8 with XI 2024R1.4.1
Posted: Thu Apr 03, 2025 2:08 am
Hi there,
We have an implementation of Nagios XI running on RHEL 8 in a customer network. The customer has recently requested we have Nagios leverage their O365 tenant to send email so they can decom their on-prem Exchange servers. For Nagios to use O365 to send email we need to upgrade the PHP version from 7.2 to 7.4 to allow XI to use OAuth 2, per this document:
https://assets.nagios.com/downloads/nag ... I-2024.pdf
Our installation of XI was a manual build on top of the customer's RHEL 8 SoE, so likely an RPM install. XI works perfectly fine and has done for months. However, in attempting to upgrade the PHP version to 7.4 we are running into constant problems. We've tried following the PHP upgrade article referenced in above linked document, but it has not worked. In fairness, it does have a warning at the top saying that the steps aren't meant for RPM-based installs.
Is there any guidance available for the upgrade we're trying to do? We have access to all the necessary repos as far as we can tell and we had no problems at all with the initial installation of XI on this RHEL 8 server.
Many thanks for any assistance.
We have an implementation of Nagios XI running on RHEL 8 in a customer network. The customer has recently requested we have Nagios leverage their O365 tenant to send email so they can decom their on-prem Exchange servers. For Nagios to use O365 to send email we need to upgrade the PHP version from 7.2 to 7.4 to allow XI to use OAuth 2, per this document:
https://assets.nagios.com/downloads/nag ... I-2024.pdf
Our installation of XI was a manual build on top of the customer's RHEL 8 SoE, so likely an RPM install. XI works perfectly fine and has done for months. However, in attempting to upgrade the PHP version to 7.4 we are running into constant problems. We've tried following the PHP upgrade article referenced in above linked document, but it has not worked. In fairness, it does have a warning at the top saying that the steps aren't meant for RPM-based installs.
Is there any guidance available for the upgrade we're trying to do? We have access to all the necessary repos as far as we can tell and we had no problems at all with the initial installation of XI on this RHEL 8 server.
Many thanks for any assistance.