Answer the question
In order to leave comments, you need to log in
How to setup memcache for OwnCloud?
Raised OwnCloud in conjunction with Debian (Apache2 Mysql PHP), but noticed that the site does not work as fast as we would like. And in the OwnCloud settings, a reminder about memcache always hangs. I decided to read it, and in the end I made small conclusions for myself! This should help! I turned to OwnCloud instructions . Everything seems to be elementary.
I tried to make the APCu option initially (as I understood it php5-apcu)
From the settings everything looks elementary and simple, add one line to the config.php of the cloud
'memcache.local' => '\OC\Memcache\APCu',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.distributed' => '\OC\Memcache\Memcached',
'memcached_servers' => array(
array('localhost', 11211),
array('server1.example.com', 11211),
array('server2.example.com', 11211),
),
Answer the question
In order to leave comments, you need to log in
It works for me like this:
'memcache.local' => '\OC\Memcache\Memcached',
'memcache.distributed' => '\OC\Memcache\Memcached',
'memcached_servers' => array(
array('localhost', 11211),
),
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question