修改数据库、redis相关配置,对应商城操作步骤

文档创建者:admin
浏览次数:32
最后更新:2024-11-10
智云知识库
智云知识库: 知识库 » 技术分享
mysql配置路径/database/config.php

redis配置,如下图所示





微擎:
mysql、redis配置文件:/商城路径/data/config.php
// -------------------  CONFIG REDIS  ------------------- //
$config['setting']['redis']['server'] = '127.0.0.1';
$config['setting']['redis']['port'] = 6379;
$config['setting']['redis']['pconnect'] = 0;
$config['setting']['redis']['timeout'] = 1;
$config['setting']['redis']['auth'] = '';
$config['setting']['redis']['session'] = 1;
$config['setting']['redis']['database'] = 2;
$config['setting']['redis']['cache'] = 3;


修改完参数务必把配置缓存文件删除
微擎路径:/商城路径/addons/yun_shop/bootstrap/cache/config.php

芸众框架路径:/商城路径/bootstrap/cache/config.php

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则