Page 1 of 1

Upgrade PHP 5.6.4 to latest version ...

Posted: Sun May 30, 2021 9:15 am
by PhilG
Hello:
To follow-up with https://support.nagios.com/forum/viewto ... 16&t=62597, I have finally successfully upgraded PHP from 5.6.4 to latest PHP version 7.4.x on our Oracle Linux 7.9 server running Nagios XI 5.8.3.

As a suggestion, after following Nagios' (extremely fantastic and very helpful) documentation (identified at the end), please update the documentation so that the latest PHP version is used:

3rd section, identified as "All", 4th line:
yum -y install yum-utils
PHPTZ=$(grep -s '^date.timezone' /etc/php.ini | awk '{print $3}')
yum -y remove php-*
yum-config-manager --enable remi-php72 <--- This should be "remi-php74".


Thank you!

Documentation:
https://support.nagios.com/kb/article/n ... 7-860.html
https://support.nagios.com/kb/pdf-860.html

Re: Upgrade PHP 5.6.4 to latest version ...

Posted: Tue Jun 01, 2021 12:48 pm
by benjaminsmith
Hi Phil,


Thanks for your input here, and we'll get that doc updated shortly,

Have a great day!
Benjamin