[root@localhost tmp]# php -r 'echo phpinfo();' | grep -i 'thread safe'
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.2ts.lin' (tried: /usr/lib64/php/modules/ixed.7.2ts.lin (/usr/lib64/php/modules/ixed.7.2ts.lin: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/ixed.7.2ts.lin.so (/usr/lib64/php/modules/ixed.7.2ts.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Thread Safety => disabled
You have new mail in /var/spool/mail/root
[root@localhost tmp]# \rm -f /etc/php.d/sourceguardian.ini
[root@localhost tmp]# \rm -f /usr/lib64/php/modules/ixed*
[root@localhost tmp]# cd /tmp
[root@localhost tmp]# rm -rf nagiosxi xi*
wget
https://assets.nagios.com/downloads/nag ... est.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./init.sh
sed -i '/^PHP script/d' xi-sys.cfg
sed -i '/^1)/d' xi-sys.cfg
sed -i '/^2)/d' xi-sys.cfg
sed -i '/^3)/d' xi-sys.cfg
./install-sourceguardian-extension.sh[root@localhost tmp]# wget
https://assets.nagios.com/downloads/nag ... est.tar.gz
--2020-10-12 18:17:18--
https://assets.nagios.com/downloads/nag ... est.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... 2600

:f03c:91ff:fedf:b821, 72.14.181.71
Connecting to assets.nagios.com (assets.nagios.com)|2600

:f03c:91ff:fedf:b821|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68131066 (65M) [application/x-gzip]
Saving to: ‘xi-latest.tar.gz’
100%[====================================================================================================================>] 68,131,066 34.4MB/s in 1.9s
2020-10-12 18:17:20 (34.4 MB/s) - ‘xi-latest.tar.gz’ saved [68131066/68131066]
[root@localhost tmp]# tar xzf xi-latest.tar.gz
[root@localhost tmp]# cd nagiosxi
[root@localhost nagiosxi]# ./init.sh
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.2ts.lin' (tried: /usr/lib64/php/modules/ixed.7.2ts.lin (/usr/lib64/php/modules/ixed.7.2ts.lin: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/ixed.7.2ts.lin.so (/usr/lib64/php/modules/ixed.7.2ts.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[root@localhost nagiosxi]# sed -i '/^PHP script/d' xi-sys.cfg
[root@localhost nagiosxi]# sed -i '/^1)/d' xi-sys.cfg
[root@localhost nagiosxi]# sed -i '/^2)/d' xi-sys.cfg
[root@localhost nagiosxi]# sed -i '/^3)/d' xi-sys.cfg
[root@localhost nagiosxi]# ./install-sourceguardian-extension.sh
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.2ts.lin' (tried: /usr/lib64/php/modules/ixed.7.2ts.lin (/usr/lib64/php/modules/ixed.7.2ts.lin: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/ixed.7.2ts.lin.so (/usr/lib64/php/modules/ixed.7.2ts.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.7.2.lin
Sourceguardian extension found for PHP version 7.2
Adding Sourceguardian extension to php.ini
[root@localhost nagiosxi]#