文件路径:config/main.php
'redis_cache' => array( 'class' => 'system.caching.CRedisCache', 'hostname' => '127.0.0.1', 'port' => 6379, 'password' => '123456', //设置redis密码 'database' => 0 ),
文件路径:config/main.php
'redis_cache' => array( 'class' => 'system.caching.CRedisCache', 'hostname' => '127.0.0.1', 'port' => 6379, 'password' => '123456', //设置redis密码 'database' => 0 ),