Files
predis/examples/SharedConfigurations.php
T
Daniele Alessandri dad3704488 Examples: bulk update.
2010-05-22 14:48:37 +02:00

25 lines
449 B
PHP

<?php
require_once '../lib/Predis.php';
$single_server = array(
'host' => '127.0.0.1',
'port' => 6379,
'database' => 15
);
$multiple_servers = array(
array(
'host' => '127.0.0.1',
'port' => 6379,
'database' => 15,
'alias' => 'first',
),
array(
'host' => '127.0.0.1',
'port' => 6380,
'database' => 15,
'alias' => 'second',
),
);
?>