Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2019-03-23 18:44:32 +0300
committermichael-grunder <michael.grunder@gmail.com>2019-03-23 18:44:32 +0300
commitbfaa89a8ae9b6a82dd8f3156e150ae898ee201be (patch)
treecd2d3e045600539837490d659442e34393fea0b8 /INSTALL.markdown
parent62bc7f0b91e378bdc6fba10c31f718e7ceaff82c (diff)
Document msgpack serialization (#1050)
Diffstat (limited to 'INSTALL.markdown')
-rw-r--r--INSTALL.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/INSTALL.markdown b/INSTALL.markdown
index 64ca1ad9..88d1b360 100644
--- a/INSTALL.markdown
+++ b/INSTALL.markdown
@@ -12,11 +12,12 @@ To build this extension for the sources tree:
~~~
phpize
-./configure [--enable-redis-igbinary] [--enable-redis-lzf [--with-liblzf[=DIR]]]
+./configure [--enable-redis-igbinary] [--enable-redis-msgpack] [--enable-redis-lzf [--with-liblzf[=DIR]]]
make && make install
~~~
If you would like phpredis to serialize your data using the igbinary library, run configure with `--enable-redis-igbinary`.
+If you would like to use the msgpack serializer, run configure with `--enable-redis-msgpack` (note: Requires php-msgpack >= 2.0.3)
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.
`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`.