[TOC] ## 概述 [Redis](../../%E7%BC%93%E5%AD%98/redis.md) ## 安装 ### linux ``` $ wget https://github.com/phpredis/phpredis/archive/3.1.4.tar.gz $ cd phpredis-3.1.4 # 进入 phpredis 目录 $ /usr/local/php/bin/phpize # php安装后的路径 $ ./configure --with-php-config=/usr/local/php/bin/php-config $ make && make install ``` ### windows [https://pecl.php.net/package/redis](https://pecl.php.net/package/redis)