[部署/环境配置]
修改数据库、redis相关配置,对应商城操作步骤
开发
2681 人阅读
|
0 人回复
|
芸众框架:
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
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|
|
|
|
|