Skip to content

Instantly share code, notes, and snippets.

@riceo
Last active December 15, 2015 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riceo/5246673 to your computer and use it in GitHub Desktop.
Save riceo/5246673 to your computer and use it in GitHub Desktop.
Install phpredis with ibinary support
#!/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