温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

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

发布时间:2020-05-20 05:05:34 来源:网络 阅读:3234 作者:wzlinux 栏目:建站服务器

问题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',






















向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI