diff --git a/checkers/php-redis.php b/checkers/php-redis.php index e555319..0209a39 100644 --- a/checkers/php-redis.php +++ b/checkers/php-redis.php @@ -1,17 +1,5 @@ 'tcp', - 'host' => '90.156.203.247', - 'port' => 6379, - 'password' => 'Ir3Roovu', - 'database' => 15, - ]); -$r->connect(); -echo $r->set('foo', 'bar'), PHP_EOL; -// >>> OK - -echo $r->get('foo'), PHP_EOL; -// >>> bar \ No newline at end of file +$redis = new Redis(); +$redis->connect('127.0.0.1', 6379); +$redis->set('foo', 'bar'); +echo $redis->get('foo'); \ No newline at end of file