Solved Strange(?) errors in logs when restarting Apache using php-fpm

Each time I restart apache i get this in the httpd error log:

Code:
...
PHP Warning:  PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20190902-zts/simplexml.so
(Cannot open /usr/local/lib/php/20190902-zts/simplexml.so), /usr/local/lib/php/20190902-zts/simplexml.so.so
(Cannot open /usr/local/lib/php/20190902-zts/simplexml.so.so)) in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 'soap.so' (tried: /usr/local/lib/php/20190902-zts/soap.so
(Cannot open /usr/local/lib/php/20190902-zts/soap.so), /usr/local/lib/php/20190902-zts/soap.so.so
(Cannot open /usr/local/lib/php/20190902-zts/soap.so.so)) in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20190902-zts/sockets.so
(Cannot open /usr/local/lib/php/20190902-zts/sockets.so), /usr/local/lib/php/20190902-zts/sockets.so.so
(Cannot open /usr/local/lib/php/20190902-zts/sockets.so.so)) in Unknown on line 0
...

I can't find any reference to /usr/local/lib/php/20190902 in any configuration file.
Either I'm too tired, or I have lost it completely, what am I missing?

If I run php -i this is found:
Code:
extension_dir => /usr/local/lib/php/20190902 => /usr/local/lib/php/20190902

And php --ini gives me:
Code:
Loaded Configuration File:         /usr/local/etc/php.ini

<?php phpinfo(); ?> is giving me (but not found in the php.ini file:

Code:
extension_dir    /usr/local/lib/php/20190902

I'm using php 7.4 with php-fpm and Apache Event MPM.

I have used mod_php earlier.
 
Back
Top