Couchbase driver for PHP
./ ./README.md This file. ./memcached.so The PHP extension as a shared library.
php.ini to include this line:
To find where you
php.ini file is, try
phpi -i | grep couchbase or look
<?php phpinfo() ?> output.
Run this test script:
<?php $cb = new Couchbase("127.0.0.1:8091", "username", "password", "default"); $cb->set("a", 1); var_dump($cb->get("a"));
Make sure you have started your Couchbase server. Adjust the hostname, port, user name and password as needed.
If you have an questions, problems or suggestions, please let us know on the Couchbase SDK forums:
Apache License 2.0 — See LICENSE for details.