Create a Redis client => Connect to a Redis server(Connection data in the script itself) => Stores a key-value pair (foo = bar) => Retrieves and displays the stored value"); $checker->printInfo(); $redis = new Redis(); $redis->connect('90.156.203.247', 6379); $redis->auth('Ir3Roovu'); $redis->set('foo', 'bar'); echo ("Output:" . $redis->get('foo'));