Techniques
Connecting to a Live Server
The 1.0.x PHP Couchbase Client Library does not currently use multiple URIs, but this can be easily worked around when setting up the connection. A future release will add support for multiple URIs.
$servers = array("http://server1:8091", "http://server2:8091"); do { if(empty($servers)) { echo "no suitable server found"; // throw } $server = array_pop($servers); $cb = new Couchbase($server); } while(!$cb); // $cb is now usable.