Confusion while trying to install / activate memcache

Nextcloud version: Hub 9 (30.0.1)
Operating system and version: Ubuntu 24.04.1 LTS
configured via Plesk
Apache: dunno where to find version in Plesk or in Hoster menu…
PHP version: PHP-FPM 8.2.25 and (?) PHP-FPM 8.3.13

I tried to install memcache following instructions like https://support.plesk.com/hc/en-us/articles/12377651968023-How-to-install-uninstall-memcached-PHP-extension-for-Plesk-PHP-handlers and finally it said that memcache is installed – but in Nextcloud I’m still urged to install memcache…

As a newbie and not exactly a server expert (!) I am confused all the way; dealing with all those prompts and never seeing results I’d want a step-by-step (would love german but anyway) how to get this memcache running – or an info that it’s not necessary…

Anything I found in this forum is very old so I think it could lead me into non-working recommendations again; sorry if that addressed somewhere I didn’t find…

Thx for hints and help!

memcacheD != memcache

While Memcached remains an option, if you’d like to use a memcache implementation with Nextcloud today, typically you’d use APCu + Redis.

Operating system and version: Ubuntu 24.04.1 LTS

You should have a package called php-redis that you can install.

Try apt install php-redis

Technically the same goes for your original approach:

apt install php-memcached

Note that both Memcached and Redis require actual Memcached or Redis servers to also be deployed…

Refs:

1 Like