git clone https://www.github.com/phpredis/phpredis.git cd phpredis phpize && ./configure && make && sudo make install