wordpress多站点在同一服务器下使用redis插件因为服务器宕机重启出现数据冲突导致站点无法访问,解决方法如下:
一般是因为redis缓存文件出现冲突导致,把wp-content目录下的缓存文件object-cache.php删掉就可以访问,文件默认路径一般在:wp-content/object-cache.php,Debian系统执行命令:
sudo rm 站点路径/wp-content/object-cache.php
Error establishing a Redis connection
To disable Redis, delete the object-cache.php
file in the /wp-content/
directory.
原创文章,作者:开心电脑网,如若转载,请注明出处。