diff --git a/readme.md b/readme.md index 2cd4099..f7cd107 100644 --- a/readme.md +++ b/readme.md @@ -134,7 +134,23 @@ and then append `extension=memcached.so` to `/usr/local/php7/etc/conf.d/modules. # Memcached extension=memcached.so + +## Installing Redis Extension + + $ git clone https://github.com/phpredis/phpredis.git + $ cd phpredis + $ git checkout php7 + $ phpize + $ ./configure + $ make && make install + $ cd .. + $ rm -rf phpredis + +And then activate phpredis + $ echo "extension=redis.so" > /etc/php/mods-available/redis.ini && \ + $ ln -sf /etc/php/mods-available/redis.ini /etc/php/7.0/fpm/conf.d/20-redis.ini && \ + $ ln -sf /etc/php/mods-available/redis.ini /etc/php/7.0/cli/conf.d/20-redis.ini ## Credits