wampsever 安装redis

wampsever 安装redis首先说坑,上面框起来的四点一定要注意,要不就不成功的。

进入https://windows.php.net/downloads/pecl/releases/redis/2.2.7/下载对应版本的php_redis.dll。上图的Thread Safety如果是enabled则下图选择ts,否则就选择nts。

wampsever 安装redis

 

 

将下载好的php_redis.dll放入E:\wamp64\bin\php\php5.6.25\ext文件夹中,然后再E:\wamp64\bin\apache\apache2.4.23\bin\php.ini添加代码:

  extension=php_redis.dll

wampsever 安装redis

重启服务器,成功