L766
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
extension_dir = "/usr/lib64/php8/extensions/"
; On windows:
;extension_dir = "ext"
L906
; When the extension library to load is not located in the default extension
; directory, You may specify an absolute path to the library file:
;
extension=mysqli.so
Pour les droits mysqli : root root 755
Par contre, je viens de voir un truc bizarre dans les logs
[Fri Apr 26 10:48:21.466867 2024] [mpm_prefork:notice] [pid 5012] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Apr 26 10:48:21.535562 2024] [ssl:warn] [pid 5661] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/lib64/php8/extensions/mysqli.so (/usr/lib64/php8/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats), /usr/lib64/php8/extensions/mysqli.so.so (/usr/lib64/php8/extensions/mysqli.so.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 'mysqli' (tried: /usr/lib64/php8/extensions/mysqli (/usr/lib64/php8/extensions/mysqli: cannot open shared object file: No such file or directory), /usr/lib64/php8/extensions/mysqli.so (/usr/lib64/php8/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
[Fri Apr 26 10:48:21.538556 2024] [mpm_prefork:notice] [pid 5661] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l-fips PHP/8.0.30 configured -- resuming normal operations
[Fri Apr 26 10:48:21.538589 2024] [core:notice] [pid 5661] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
mysqli.so.so: cannot open shared object file:
J'ai supprimé le .so et ca ne begaie plus.. mais ca ne fonctionne toujours pas.
J'ai bien entendu redemarre maria et apache avant de tester.