Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

ryanparedes's picture
Asked 2 weeks 15 hours ago
Latest activity 1 week 15 hours ago

PHP Fatal error: Class 'Couchbase' not found

I am trying to setup php to connect to couchbase and I get the following

PHP Fatal error: Class 'Couchbase' not found in /var/www/html/test-cbs-connection.php on line 3

Here is php source:

# cat /var/www/html/test-cbs-connection.php
<?php
// adjust...

littlewitchanita's picture
Asked 1 month 2 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)

Other...

notm84's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 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.

Thoughts?

ntorvik's picture
Asked 1 month 4 weeks 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 extension=json.so, and extension=couchbase.so to my /etc/php.ini
When I run couchbase php scripts from the command line they work as...

blui's picture
Asked 2 months 1 day ago

Couchbase PHP SDK increment - expiry doesn't renew

Hi,
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 3 months 2 days ago

Can someone answer this question

http://www.couchbase.com/communities/q-and-a/couchbaseclustermanager-doe...

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

seb.crowdpark's picture
Asked 3 months 1 week ago
Latest activity 2 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:

$cbClient->get('foo');

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

mshallop's picture
Asked 4 months 1 week ago
Latest activity 4 months 6 days ago

key dump - buckets 101

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

andrew.stechak's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 1 week 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 4 months 2 weeks ago
Latest activity 4 months 1 day 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-...

Pages