Ubuntu 安装 Memcached 加速 Typecho
Ubuntu 安装 Memcached 加速 Typecho
关键词:Ubuntu Memcached Typecho
1.安装memcached服务端
sudo apt install memcached
2.检查服务是否启动
sudo systemctl status memcached
3.开机自启
sudo systemctl enable memcached
4.安装php-memcached插件
sudo apt install php-memcached
5.检查插件是否成功启用
php -m | grep memcached
6.重新启动php7.4-fpm和nginx
sudo systemctl restart php7.4-fpm
sudo systemctl restart nginx
7.安装typecho 缓存插件
文章作者:四文鱼Max
本文链接:https://blog.awolon.fun/archives/typecho-memcached.html
许可协议:CC BY-SA 4.0