tp5.1 使用redis
如題,首先設置redis服務器連接配置,在/config/cache文件中 在控制器中 use think\facade\Cache; 簡單操作存取字符串 其他如li ...
如題,首先設置redis服務器連接配置,在/config/cache文件中 在控制器中 use think\facade\Cache; 簡單操作存取字符串 其他如li ...
如題,在兩台服務器之間搭建主從redis: 登錄阿里雲控制台把redis的端口開放。 如果是寶塔面板在安全欄目里放行redis的端口。 主服務器的redis.conf ...
Redis6.0配置文件詳解 注:redis版本為:6.0.5 配置文件原文地址:https://raw.githubusercontent.com/redis/redis/6.0/redis.c ...