Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (25 sloc) 620 Bytes

ext/couchbase

A PHP extension wrapping libcouchbase.

Dependencies

libcouchbase

Installation

$ 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.

First Step

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;
?>

License

Apache License 2.0

Credits

Couchbase

Copyright

(c) 2011, 2012 Couchbase

Jump to Line
Something went wrong with that request. Please try again.