Connect to redis from PHP

To connect to redis, first install php-redis

Now create a php file with following code

redis