diff --git a/tasks/setup_Debian.yml b/tasks/setup_Debian.yml index c7b71dc..2a1aba9 100644 --- a/tasks/setup_Debian.yml +++ b/tasks/setup_Debian.yml @@ -20,6 +20,9 @@ - ca-certificates - sudo - php-apcu + - memcached + - php-memcached + notify: restart apache2 - name: remove default page file: diff --git a/templates/config.php.j2 b/templates/config.php.j2 index 4874c67..ac29327 100644 --- a/templates/config.php.j2 +++ b/templates/config.php.j2 @@ -314,4 +314,14 @@ $CONFIG = array( 'upgrade.disable-web' => true, +/** + * Enable memcache + */ +'memcache.local' => '\OC\Memcache\APCu', +'memcache.distributed' => '\OC\Memcache\Memcached', +'memcached_servers' => array( + array('localhost', 11211), + ), + + );