Skip to content

Commit 80d2a91

Browse files
committed
Add instructions about lzf installation
1 parent 43613d9 commit 80d2a91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

INSTALL.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ To build this extension for the sources tree:
1212

1313
~~~
1414
phpize
15-
./configure [--enable-redis-igbinary]
15+
./configure [--enable-redis-igbinary] [--enable-redis-lzf [--with-liblzf[=DIR]]]
1616
make && make install
1717
~~~
1818

1919
If you would like phpredis to serialize your data using the igbinary library, run configure with `--enable-redis-igbinary`.
20+
The extension also may compress data before sending it to Redis server, if you run configure with `--enable-redis-lzf`. If you want to use lzf library pre-installed into your system use `--with-liblzf` configuration option to specify the path where to search files.
2021
`make install` copies `redis.so` to an appropriate location, but you still need to enable the module in the PHP config file. To do so, either edit your php.ini or add a redis.ini file in `/etc/php5/conf.d` with the following contents: `extension=redis.so`.
2122

2223
You can generate a debian package for PHP5, accessible from Apache 2 by running `./mkdeb-apache2.sh` or with `dpkg-buildpackage` or `svn-buildpackage`.

0 commit comments

Comments
 (0)