Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

littlewitchanita's picture
Asked 3 months 3 weeks ago

PHP SDK fail to get integer values

I was previously using JAVA, Perl and Erlang SDKs, all worked well.

Now I am trying to build a simple web portal using PHP, but when I try to get the values that are in integer the PHP SDK got this warning:
Couchbase::get(): could not decompress value (bad content)


notm84's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks ago

Failed to store value to server: Network error

PHP 5.3
Couchbase 1.1.5 ( 5.3 Non Thread Safe (NTS) x86 )
Server 2008 Standard R2

This error started happening earlier today whenever the set command is called. Couchbase is on the same box as IIS. However, when pointing IIS to a replica it functions fine.


ntorvik's picture
Asked 4 months 1 day ago

PHP Fatal error

I have installed couchbase with the latest version of CentOS, and I built the library from sources without incident.

I have manually added the, and to my /etc/php.ini
When I run couchbase php scripts from the command line they work as...

blui's picture
Asked 4 months 5 days ago

Couchbase PHP SDK increment - expiry doesn't renew

I've discovered that when using the couchbase php sdk, while calling increment() with a flag to create if not exist works just fine and the expiry is respected in this case -- if I subsequently call increment() in this key which now exists, the expiry doesn't get renewed with the...

rotem's picture
Asked 5 months 5 days ago

Can someone answer this question

I'm having the same issue and can't find any solution

seb.crowdpark's picture
Asked 5 months 1 week ago
Latest activity 4 months 1 week ago

PHP libcouchbase 2.3.0 - Large amount of client timeout errors - How to solve?

We found a huge jump of client side timeout errors with latest php sdk & libcouchbase (2.3.0) by performing a get operation to an existing document on a 6-nodes-couchbase-cluster:


Error: [CouchbaseLibcouchbaseException] "Failed to get a...

mshallop's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

key dump - buckets 101

PHP API - how to fetch key-dump from memcached buckets?

andrew.stechak's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Increment operation error: Failed to increment value in the server: Not a number

Couchbase Server 2.5.0
PHP SDK version 1.2

nt.tung's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 5 days ago

Cannot install PHP SDK error "make: *** [replica.lo] Error 1"

Hi all,
I'm using ubuntu 10.04 apache 2.4.4 php 5.5.0.
I'm getting this error when install php sdk, detail:
-DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/couchbase/replica.c -o replica.lo
cc -I. -I/tmp/pear/temp/couchbase -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-...

arnaudco's picture
Asked 6 months 4 weeks ago

Spatial Views and JQUERY

Dear Members,

I try to use jQuery.getJSON() or jQuery.get() in order to get spatial view from my couchbase database but It does not work.

URL used in get() function :