It seems that you are not aware that PHP consists of two different parts, a web server module (WEB) and a command line version (CLI). You need to make sure that the missing module ist installed for both components, If you execute “php -m” you are using the CLI command which doesn’t provide information about the WEB component.
Yes it s true that I’m not very ease with all those php.ini’s and modules and all lol, but I hope getting use to it ! In my dreams all the php confs will be in only one directory lol.
I have the file /etc/php/8.2/apache2/php.ini but in my others servers I didn’t edit it.
I have the file /etc/php/8.2/apache2/conf.d/20-apcu.ini existing.
When I add extension=apcu.so and apc.enabled=1 in CLI or FPM php.ini, OCC commands say this :
PHP Warning: Module “apcu” is already loaded in Unknown on line 0
So I assume I don’t need to add manually these directives.
Somehow the APCu is enabled, but still I get this error when doing OCC command :
Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)