Web : ownCloud error Memcache \OC\Memcache\APCu not available for local cache

By | March 30, 2019

Encountering the following error with ownCloud?

“Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?”

This usually mean that either the Memcache/APC module isn’t installed (or enabled), or a mistake in the ownCloud configuration is present.

1. Make sure the APC package is present on your system (the commands below show how to proceed on a Debian distribution) :

apt-cache policy php-apcu

NOTE : If the package is present, go to step 3 as the module is likely not loaded.

2. If the package isn’t present on your system, simply run the following command to install it :

apt-get install php-apcu

3. Enable the module :

ln -s /etc/apache2/mods-available/socache_memcache.load /etc/apache2/mods-enabled/socache_memcache.load

4. Restart Apache :

systemctl apache restart