【发布时间】:2021-02-04 04:01:51
【问题描述】:
在 Nextcloud 安装中我收到错误
No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation.
所以我已经安装了 APCu、Redis、redis-php 并在 NCs config.php 中进行了所需的设置
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => '6379',
当我测试redis连接时
redis-cli ping
我得到一个
PONG
(这适用于 localhost 和 unix 套接字)
但是 Nextcloud 显然没有连接到 Redis。
http用户是redis组的成员。
php-redis 模块被激活。
【问题讨论】: