Hello,
currently we are running nagios 5.6.6 and php5, because of the security vulnerability we need to update the php version to php7 is these php version is compatible with nagios 5.6.6
Nagiosxi php7.2
Re: Nagiosxi php7.2
Your XI version is compatible with PHP up to and including 7.2.X.
What OS/version is it running?
If you're running RHEL/CENT/ORACLE, you can follow this guide:
https://support.nagios.com/kb/article/n ... 7-860.html
What OS/version is it running?
Code: Select all
uname -a
cat /etc/*releasehttps://support.nagios.com/kb/article/n ... 7-860.html
Re: Nagiosxi php7.2
Its centos 7
After doing the mentioned steps in the document. I am facing the below error.
++++++++
[Wed Jun 23 14:49:15.010751 2021] [php7:error] [pid 24316] [client 192.168.0.105:62501] PHP Fatal error: SourceGuardian Loader - This protected script was not encoded for version 7.4.20 of PHP. Please re-encode or contact the author of the script regarding this problem. Error code [07] in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 2
+++++++++++
After doing the mentioned steps in the document. I am facing the below error.
++++++++
[Wed Jun 23 14:49:15.010751 2021] [php7:error] [pid 24316] [client 192.168.0.105:62501] PHP Fatal error: SourceGuardian Loader - This protected script was not encoded for version 7.4.20 of PHP. Please re-encode or contact the author of the script regarding this problem. Error code [07] in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 2
+++++++++++
Re: Nagiosxi php7.2
You went to PHP 7.4 which your XI version doesn't support. From my previous response:
Instead of this line:
You would use:
You'll need to remove PHP 7.4 and go to PHP 7.2:Your XI version is compatible with PHP up to and including 7.2.X.
Code: Select all
https://support.nagios.com/kb/article/nagios-xi-upgrading-to-php-7-860.htmlCode: Select all
yum-config-manager --enable remi-php74Code: Select all
yum-config-manager --enable remi-php72