The PHP Redis client will be phpredis At first, we have to be sure that php5.6-dev is installed.
1 |
sudo apt-get install php5.6-dev |
Then install package
1 |
sudo pecl install redis |
in type installation, you will be asked a few times and always answer no and last you need to add to the php.ini file this line and restart apache2 server
1 |
extension=redis.so |
Now we can test…