|
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
|
|