WP Super Cache需要安装mod_expires模块,要不然访客在浏览页面,提交评论之后,或重新载入页面不会更新、
军哥的LNMP 0.9可以这样安装mod_expires模块(默认的貌似没有安装):
SSH上执行下面语句:
/usr/local/apache/bin/apxs -i -a -c /root/lnmp0.9-full/httpd-2.2.22/modules/metadata/mod_expires.c
其中或许要替换目录名lnmp0.9-full为lnmp0.9;httpd-2.2.22为其他;请自行查看目录,然后修改上面语句再执行即可!
/etc/init.d/httpd restart
转载请注明:大地博客 » LNMP 0.9 安装mod_expires模块