Details
Description
For whatever reason, when doing getVersion() on the php ext the showed version is not the couchbase one. I assume its the memcached one, but I think this will only confuse people.
Is it possible to change this to the corresponding couchbase version?
array(2) {
'192.168.56.101:11210' =>
string(18) "1.4.4_600_g7ea975a"
'192.168.56.102:11210' =>
string(18) "1.4.4_600_g7ea975a"
}
Michael
Is it possible to change this to the corresponding couchbase version?
array(2) {
'192.168.56.101:11210' =>
string(18) "1.4.4_600_g7ea975a"
'192.168.56.102:11210' =>
string(18) "1.4.4_600_g7ea975a"
}
Michael
<?php
$cb = new CouchbaseClusterManager("localhost", "Administrator", "asdasd");
$info = json_decode($cb->getInfo());
foreach ($info->{"nodes"} as $node) {
print $node->{"hostname"} . " is running " . $node->{"version"} . "\n";
}
?>