<?php
//Connecting to Redis server on localhost
$redis = new Redis();
$redis->connect('192.168.33.10', 6379);
$redis->auth('test');
echo $name = $redis->set("name","sdfs");
echo $name = $redis->get("name");
?>
<?php
//Connecting to Redis server on localhost
$redis = new Redis();
$redis->connect('192.168.33.10', 6379);
$redis->auth('test');
echo $name = $redis->set("name","sdfs");
echo $name = $redis->get("name");
?>