A PHP extension wrapping libcouchbase.
libcouchbase
$ phpize
$ ./configure
$ make
$ make test # assumes a Couchbase Server 1.8 or later running on 127.0.0.1:8091
$ make install
If you are using a webserver installation of PHP, you might need to restart your webserver.
Create a new script test.php
:
<?php
$cb = new Couchbase("127.0.0.1:8091", "Administrator", "password", "default");
$cb->set("a", 1);
$a = $cb->get("a");
echo $a;
?>
PHP 5.2.9 or later.
Windows support is coming in the next release.
Apache License 2.0
See CREDITS file. Thanks all!
(c) 2011, 2012 Couchbase