Run Nogis XI OVA centos7 and need to upgrade HTTPD

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Run Nogis XI OVA centos7 and need to upgrade HTTPD

Post by ssax »

Remove this line from your /etc/php.ini:

Code: Select all

extension=ixed.7.2ts.lin
Then restart apache:

Code: Select all

service httpd restart
btayl
Posts: 131
Joined: Mon Aug 24, 2020 8:51 am

Re: Run Nogis XI OVA centos7 and need to upgrade HTTPD

Post by btayl »

now i get
PHP script '/usr/local/nagiosxi/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.7.2ts.lin' to be installed.

1) Click here to download the required 'ixed.7.2ts.lin' loader from the SourceGuardian site
2) Install the loader to /usr/lib64/php-zts/modules
3) Edit /etc/php.ini and add 'extension=ixed.7.2ts.lin' directive
4) Restart the web server
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Run Nogis XI OVA centos7 and need to upgrade HTTPD

Post by ssax »

This is caused by the httpd version you have installed from the codeit repository which is incompatible with our installer, it's using php-zts. The recommendation would be for you to use what the OS vendor provides otherwise you will have issues like this during upgrades/etc because we do not expect a custom version installed that doesn't match what the OS vendor uses.

The only way that I was able to get it working is by doing this:

Code: Select all

wget 'http://www.sourceguardian.com/loaders/download.php?php_v=7.2.34&php_ts=1&php_is=8&os_s=Linux&os_r=3.10.0-1127.19.1.el7.x86_64&os_m=x86_64' -O /usr/lib64/php-zts/modules/ixed.7.2ts.lin
\rm -f /etc/php.d/sourceguardian.ini
echo "extension=ixed.7.2ts.lin" > /etc/php-zts.d/sourceguardian.ini
systemctl restart httpd
NOTE: We have not tested our software against php-zts, you may run into issues.
Locked