/通过phpinfo确认需要的版本 由上图确认需要VC11、32位、TS的(据实际情况而定) 找到需要的版本,下载,并上传到php的ext目录下 并在php.ini添加: extension=php_igbinary.dll extension=php_redis.dll
重启web服务
原样复制以下内容到站点根目录下core目录下的config.php文件末尾
$cfg['setting']['redis']['server'] = '127.0.0.1';
$cfg['setting']['redis']['port'] = 6379;
$cfg['setting']['redis']['pconnect'] = 0;
$cfg['setting']['redis']['requirepass'] = '';
$cfg['setting']['redis']['timeout'] = 1; |