How to enable Memcache feature on Nextcloud

December 20, 2016 | By | Reply More

There is an interesting way to improve the performance of our Nextcloud server. Memcache is a feature in PHP that can be used to improve the overall Nextcloud server. It helps Owncloud and Nextcloud to avoid slow database query. This tutorial will show you how to enable Memcache feature on Nextcloud. This tutorial is correlated to my previous tutorial to install Nextcloud. You may want to read the tutorial to install Nextcloud on my Arch Linux server.

How to enable Memcache feature on Nextcloud

Step 1. Enable the extension

Uncomment the following line

extension=apcu.so

Now add the following line to /usr/share/webapps/nextcloud/config/config.php

‘memcache.local’ => ‘\OC\Memcache\APCu’,

Step 2. Restart Web Server

OK, now Memcache is enabled. Thank you.

Tags: ,

Category: Server

Leave a Reply