Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

sungsoo's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

PHP 5.2 support ?

I want to test Couchbase in my web application.
But I failed to install PHP API on my server.
The error message is shown below:

# /usr/local/bin/pecl install couchbase
Did not download optional dependencies: pecl/igbinary, use --alldeps to download automatically

morgan_chester's picture
Asked 9 months 4 hours ago
Latest activity 8 months 4 weeks ago

Node load balancing over a php

I have a three-node Couchbase cluster;
When I'm adding all of the nodes to the server array, if the first in array node is in trouble, php is not able to connect to the other nodes, why?

Uli's picture
Asked 9 months 15 hours ago
Latest activity 9 months 1 hour ago

php script dies on $couchebase->set, please help

Hi, I'm new to this.

here my issue..

$cb = new Couchbase("", "", "", "default");

object(Couchbase)#1 (1) { ["_handle":"Couchbase":private]=> resource(2) of type (Persistent Couchbase...

michaelsteuer's picture
Asked 9 months 3 weeks ago
Latest activity 7 months 3 weeks ago

CouchbaseClusterManager doesn't work

I'm trying to use the CouchbaseClusterManager to perform certain actions on buckets, but I don't get passed the instantiation. Whatever I try next, fails.

Here's an example:

$cbm = new
opq6789's picture
Asked 10 months 5 days ago
Latest activity 10 months 5 days ago

Centos5 can't get PHP client library , can't Install the PHP SDK

Centos5.9 x86_64 Two questions please

1.Get a Client Library

yum install -y libcouchbase2-libevent libcouchbase-devel , I got the errors:

couchbase | 2.9 kB 00:00

pl's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 day ago

Windows 2008 IIS 7.5 installation problem

UPDATE: I forgot to put libcouchbase.dll in with the dll's, I placed it in the root of php folder (not the ext fiolder) its now showing up in phpinfo() my only remaining question is where does couchbase.ini go or what do I do with it?
I've installed...

pildit's picture
Asked 10 months 1 week ago

Parameter 3 to Couchbase::get() expected to be a reference, value given

Please help Couchbase

I'm having a problem with this warning...

My code was :

$val = Yii::app()->couchbase->get(static::getPrefix() . $key, null, &$casToken)


Nir Shneor's picture
Asked 10 months 3 weeks ago
Latest activity 10 months 3 weeks ago

php-ext-couchbase-1.1.2-ubuntu1110 - "Failed to create libcouchbase instance"

We are using php-ext-couchbase-1.1.2-ubuntu1110, and for the first time after few months, our production servers have restarted, so our couchbase severs were reconfiged.

After that, using 'default' username and '' (empty) password, and specific port 8091, we got the error - "Failed to...

jcotton's picture
Asked 11 months 3 days ago
Latest activity 10 months 1 week ago

PHP-FPM & large number of connections to the couchbase cluster

We're currently facing some performance issues with our application and Couchbase is the culprit. One area we are looking at is the shear number of connections our application servers have with the couchbase cluster. My understanding is that each PHP-FPM process will create n+1 connections to...

ksnyde's picture
Asked 11 months 1 week ago
Latest activity 11 months 1 week ago

Can't query buckets ... segment fault 11

I had been using Couchbase 2.0.1 on my home and laptop computers (both OSX 10.8.5) with no problem for many months and then suddenly my laptop stopped working. Specifically the ability to use PHP to get or set documents in buckets started returning a "segment fault 11".

In the hope that...