气味 发表于 2025-4-4 00:59:26

typecho怎么弄redis

config.inc.php 该怎么写<br />
<br />
redis已经安装且成功运行 <br />
php的redis扩展也安装和正常运行<br />
写个php测试了一下redis连接 也成功了<br />
<br />
但就是typecho的redis一直不生效~<br />

shc 发表于 2025-4-4 08:25:00

安装typecho缓存插件了吗

hostit 发表于 2025-4-4 09:16:25

你是怎么写的,代码放出来才好给你判断

气味 发表于 2025-4-4 11:04:52

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16313411&ptid=1400373" target="_blank"><font color="#999999">shc 发表于 2025-4-4 08:25</font></a></font><br />
安装typecho缓存插件了吗</blockquote></div><br />
没有装插件<br />
typecho有redis的插件么?<br />
我是直接安装redis核php扩展redis的

louiejordan 发表于 2025-4-4 08:25:00

<font size="3">建议换Wordpress,Typecho一堆半吊子插件和主题,后期全都得自己维护。</font>

shc 发表于 2025-4-4 11:07:48

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16313542&ptid=1400373" target="_blank"><font color="#999999">气味 发表于 2025-4-4 11:04</font></a></font><br />
没有装插件<br />
typecho有redis的插件么?<br />
我是直接安装redis核php扩展redis的</blockquote></div><br />
php-redis也要装,插件也要啊,否则typecho怎么知道什么时候需要从redis里面读写。Wordpress也是需要装插件才能用redis或者memcached的。<br />
谷歌搜一下typecho redis plugin一大堆

气味 发表于 2025-4-4 11:15:18

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16313552&ptid=1400373" target="_blank"><font color="#999999">shc 发表于 2025-4-4 11:15</font></a></font><br />
php-redis也要装,插件也要啊,否则typecho怎么知道什么时候需要从redis里面读写。Wordpress也是需要装插 ...</blockquote></div><br />
https://github.com/FantWings/TpCache<br />
安装了这个 试了一下 好像没生效<br />
访问了几个页面 redis数据库里面 都是空的<br />
<br />
不知道是不是插件太老~ <br />
都是**年前的了

气味 发表于 2025-4-4 11:04:00

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16313444&ptid=1400373" target="_blank"><font color="#999999">hostit 发表于 2025-4-4 09:16</font></a></font><br />
你是怎么写的,代码放出来才好给你判断</blockquote></div><br />
<img id="aimg_m5H2D" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://i.ibb.co/7tqN998w/20250404114603.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
问了半天deepseek也没用~ <br />
<img src="https://hostloc.com/static/image/smiley/default/biggrin.gif" smilieid="3" border="0" alt="" />
页: [1]
查看完整版本: typecho怎么弄redis