I hope I understood it correctly to comment out that line:
Code: Select all
$ sudo vi /etc/php.d/sourceguardian.ini
$ cat /etc/php.d/sourceguardian.ini
;extension=ixed.7.4.lin
$ sudo systemctl restart httpd
$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.4ts.lin' (tried: /usr/lib64/php/modules/ixed.7.4ts.lin (/usr/lib64/php/modules/ixed.7.4ts.lin: undefined symbol: compiler_globals_offset), /usr/lib64/php/modules/ixed.7.4ts.lin.so (/usr/lib64/php/modules/ixed.7.4ts.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.28 (cli) (built: Feb 15 2022 13:23:10) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
then I tried to edit the line in that file to be with 'ts', like so (see cat output):
Code: Select all
$ sudo vi /etc/php.d/sourceguardian.ini
$ cat /etc/php.d/sourceguardian.ini
extension=ixed.7.4ts.lin
$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.4ts.lin' (tried: /usr/lib64/php/modules/ixed.7.4ts.lin (/usr/lib64/php/modules/ixed.7.4ts.lin: undefined symbol: compiler_globals_offset), /usr/lib64/php/modules/ixed.7.4ts.lin.so (/usr/lib64/php/modules/ixed.7.4ts.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.4ts.lin' (tried: /usr/lib64/php/modules/ixed.7.4ts.lin (/usr/lib64/php/modules/ixed.7.4ts.lin: undefined symbol: compiler_globals_offset), /usr/lib64/php/modules/ixed.7.4ts.lin.so (/usr/lib64/php/modules/ixed.7.4ts.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.28 (cli) (built: Feb 15 2022 13:23:10) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
any other idea where it comes from ? I mean, Nagios WEB UI is working, I am not sure if this error from 'php -v' can be ignored or not ?