Last week I upgraded our NagiosXI from 2014R2.7 to latest available version (5.6.2). Quite a few snags during the upgrade, but all solvable via old posts and FAQs on the site.
Next I upgraded PHP on the server from 5.2 to 7.3.5. Following the PHP upgrade, I noticed some errors about SourceGuardian being the incorrect version. So I downloaded ixed7.3 and updated /etc/php.d/sourceguardian.ini with "extension=ixed.7.3.lin". PHP errors went away and I thought all was good.
However I've just tried to login to the XI GUI, I get to https://nagiosxi.ourdomain.com but when I click "Access Nagios XI" I get directed to https://nagiosxi.ourdomain.com/nagiosxi and get a HTTP500 error. /var/log/httpd/ssl_error_log shows the following error -
Code: Select all
PHP Fatal error: SourceGuardian Loader - This protected script was not encoded for version 7.3.5 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
Thanks