Last active
December 15, 2015 10:38
-
-
Save riceo/5246673 to your computer and use it in GitHub Desktop.
Install phpredis with ibinary support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pecl install igbinary | |
echo "extension=igbinary.so" > /etc/php5/conf.d/igbinary.ini | |
git clone https://github.com/nicolasff/phpredis.git /opt/phpredis | |
cd phpredis | |
phpize | |
./configure --enable-redis-igbinary | |
make && make install | |
/etc/init.d/php5-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment