(2019-01-10)
Problem
Owncloud warning on Settings -> General page:
Transactional file locking should be configured to use memory-based locking
Solution
Install redis
Install php-redis (you may need some different dependencies to make this work)
Literal config.php fragment:
// memcache configuration follows
'memcache.local' => '\OC\Memcache\APCu',
'memcache.distributed' => '\\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
'host' => 'localhost', // Can also be a unix domain socket => '/tmp/redis.sock'
'port' => 6379,
'timeout' => 0,
'password' => '', // Optional, if not defined no password will be used.
'dbindex' => 0 // Optional, if undefined SELECT will not run and will
// use Redis Server's default DB Index.
],
// memcache configuration ends
Restart httpd
Reload settings page.
(Valid for Owncloud 10.0.10)