-
-
Save jpalala/7929f633cedbcb4661fe to your computer and use it in GitHub Desktop.
Install redis server and redis php extension for xampp(php 5.3).
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
sudo bash | |
wget http://redis.googlecode.com/files/redis-2.6.0.tar.gz | |
tar xzf redis-2.6.0.tar.gz | |
cd redis-2.6.0 | |
make | |
sudo make install clean | |
# autostart in /etc/rc.local before "exit 0" add: | |
# /usr/local/bin/redis-server /etc/redis/redis.conf | |
sudo apt-get install php5-dev | |
git clone git://github.com/nicolasff/phpredis.git | |
cd phpredis | |
phpize | |
./configure | |
make | |
sudo -s make install | |
# add to php.ini extension="redis.so" | |
# server start | |
# redis-server /etc/redis/redis.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment