首页 > 代码库 > 私有网盘nextcloud 12的问题处理及优化
私有网盘nextcloud 12的问题处理及优化
问题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‘,
本文出自 “运维点滴记录” 博客,请务必保留此出处http://wzlinux.blog.51cto.com/8021085/1946018
私有网盘nextcloud 12的问题处理及优化
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。