您的位置:首页 > 其它

私有网盘nextcloud 12的问题处理及优化

2017-07-10 17:43 393 查看
问题1:如果你在管理界面看到如下提示
No memory cache has been configured. To enhance your performance please configure a memcache if available.

答:需要我们安装缓存了,如果你之前是按照我的部署方法部署的,只需要修改一个php文件即可,支持的缓存分为以下几种,我们默认安装的是第一种

APCu, APCu 4.0.6 and up required.

A local cache for systems.
Memcached

Distributed cache for multi-server Nextcloud installations.
Redis, PHP module 2.2.6 and up required.

For distributed caching.
需要安装 php-pecl-apcu,建议按照我的部署文档安装,因为版本的问题。
yum install php70w-pecl-apcu -y
然后重启nginx服务,然后修改php配置文件/nextcloud/config/config.php,增加如下配置
'memcache.local' => '\OC\Memcache\APCu',
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  nextcloud