php 测试php连接redis集群的案例

<?php
$redis_list = ['12.24.18.2:6379'];
$client = new RedisCluster(NUll,$redis_list);
echo $client->set('z','1234');
echo $client->get('z');

posted @ 2019-05-24 15:48  划得戳  阅读(1690)  评论(0编辑  收藏  举报