wordpress 使用redis而且需要密码的方法

 3年前     557  

文章目录

在config文件里找到   /** Absolute path to the WordPress directory. */

在这里添加下文。

/** Redis Object Cache */

define('WP_REDIS_HOST', '127.0.0.1');
define('WP_REDIS_PORT', '6379');
define('WP_REDIS_PASSWORD', '密码');

 

版权声明:leif 发表于 3年前,共 185 字。
转载请注明:wordpress 使用redis而且需要密码的方法 | 虎娃博客

暂无评论

暂无评论...