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) :
1 |
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 :
1 |
apt-get install php-apcu |
3. Enable the module :
1 |
ln -s /etc/apache2/mods-available/socache_memcache.load /etc/apache2/mods-enabled/socache_memcache.load |
4. Restart Apache :
1 |
systemctl apache restart |