企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# \[视频\]redis缓存配置 ## 添加配置 修改文件 /data/config.php 把下面的代码复制到文件的最下面 修改mysql 为 redis ![](https://box.kancloud.cn/f12ed8a6f2e471cf194cd24a012cf3ba_802x163.png) ~~~ // -------------------------- CONFIG redis longbingkeji --------------------------- // $config['setting']['redis']['server'] = '127.0.0.1'; $config['setting']['redis']['port'] = 6379; $config['setting']['redis']['pconnect'] = 1; $config['setting']['redis']['timeout'] = 30; $config['setting']['redis']['session'] = 1; ~~~ 一定要清理缓存,一定要清理缓存! # 最终效果 ![](https://box.kancloud.cn/adec2fa6483011e64a5bc4c71dd29d4d_996x807.png) ## 视频教程 https://player.youku.com/embed/XMzk0MjQ1OTg2NA?client_id=70425dd755d80061&password=&autoplay=false#www.kancloud.cn