Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A PHP extension wrapping libcouchbase
C PHP Perl C++

This branch is 22 commits ahead, 138 commits behind couchbaselabs:master

Release of 1.0.6.

Change-Id: I59369f3503e583d2557372fec84ae896944cde5d
Reviewed-on: http://review.couchbase.org/22603
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Matt Ingenthron <matt@couchbase.com>
latest commit 0b4d8786d2
@ingenthr ingenthr authored ingenthr committed
Failed to load latest commit information.
bugs PCBC-139: backport compression changes
fastlz
package account for builders doing a clean checkout
tests PCBC-134 Improving error reporting on connection failure
.gitignore
CREDITS
LICENSE
README.md remove EXPERIMENTAL update Credits comment in README
THANKS.md
compress.c PCBC-139: backport compression changes
config.m4
config.w32 PCBC-139: backport compression changes
couchbase.c
couchbase.php Initial commit, finish ext skeleton.
internal.h
php_couchbase.h

README.md

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

Compatibility

PHP 5.2.9 or later.

Windows support is coming in the next release.

License

Apache License 2.0

Credits

See CREDITS file. Thanks all!

Copyright

(c) 2011, 2012 Couchbase

Something went wrong with that request. Please try again.