ownCloud错误Memcache \ OC \ Memcache \ APCu不适用于本地缓存

时间:2020-02-23 14:45:21  来源:igfitidea点击:

在ownCloud中遇到以下错误?

"Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?";

这通常意味着未安装(或者启用)Memcache/APC模块,或者在ownCloud配置中存在错误。

1.确保系统上存在APC软件包(以下命令显示如何在Debian发行版上进行操作):

apt-cache policy php-apcu

注意:如果有包装,请执行步骤3,因为可能未加载模块。

2.如果您的系统上没有该软件包,只需运行以下命令进行安装:

apt-get install php-apcu

3.启用模块:

ln -s /etc/apache2/mods-available/socache_memcache.load /etc/apache2/mods-enabled/socache_memcache.load

4.重新启动Apache:

systemctl apache restart