您的位置:首页 > 数据库 > Redis

redis配置

2015-12-27 11:38 609 查看
$config['cache']['type'] = 'redis';

// $config['memcache']['prefix'] = 'nc_';

// $config['memcache'][1]['port'] = 11211;

// $config['memcache'][1]['host'] = '127.0.0.1';

// $config['memcache'][1]['pconnect'] = 0;

$config['redis']['prefix'] = 'nc_';

$config['redis']['master']['port'] = 6379;

$config['redis']['master']['host'] = '192.168.0.30';

$config['redis']['master']['pconnect'] = 0;

$config['redis']['slave'] = array();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: