Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

nornholdj's picture
Asked 1 year 2 weeks ago
Latest activity 8 months 3 weeks ago

'CouchbaseLibcouchbaseException' with message 'Failed to get a value from server: Operation timed out'

Hi,

I'm having an issue running a simple test with the php extension. When I connect to the default bucket with no authentication it works fine. However, when I try to connect to a user defined bucket with authentication I don't get a connection error but I get a "...

alex0872's picture
Asked 1 year 3 weeks ago
Latest activity 1 year 3 weeks ago

php-ext-couchbase on Ubuntu 12-32bit Failed

Hi People.

I'm trying to install the php-ext-couchbase on Ubuntu 12 so far without success. I'm getting this error from PHP:

php -m | grep couchbase
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/couchbase.so' -...

ledude's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

php-ext-couchbase on Centos 6.4 Failed

Hi all.

I'm trying to install the php-ext-couchbase with Centos 6.4 64bit. I followed all the instruction including trying the pecl install option. I have googled every possibility and I'm still getting this error.

php -m | grep couchbase

PHP Warning: PHP Startup:...

nerdventures's picture
Asked 1 year 1 month ago
Latest activity 1 year 4 weeks ago

php-ext-couchbase-1.1.5 sporatically coredumping on getMulti

We're testing couchbase php sdk with couchbase 2.0.1 community edition (6 boxes). I'm noticing the following symptoms pop up on our apache webs where a child process will SegFault (11) and drop these cores. Most of them look almost identical in gdb, the r->the_request doesn't...

jcsanyi's picture
Asked 1 year 1 month ago

Exceptions and Error Codes

The documentation seems to suggest that errors should be handled by catching exceptions, rather than calling getResultCode().

However - Exceptions don't seem to have any sort of a result code set, so it's impossible to detect a network error, for example, without doing string comparisons...

monsters's picture
Asked 1 year 1 month ago
Latest activity 6 months 5 days ago

Do i need to escape keys when loading from a view?

i have a view emiting what looks like this

Key | Value
---------------------
one | something
two | something
a.b | something

now when querying, i can't get the a.b to show up, i'm assuming its the period in the middle. what do i...

glambert's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Couchbase connection errors

Hi,

In the last 24 hours, despite catching every Couchbase exception listed, I'm getting hundreds of the following errors (as PHP notices):

Failed to establish libcouchbase connection to server: Connection failure
- this is when doing normal gets and view queries in the...

mandries's picture
Asked 1 year 2 months ago
Latest activity 2 weeks 3 days ago

undefined symbol: php_json_decode

The full error message is:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/couchbase.so' - /usr/lib/php5/20100525/couchbase.so: undefined symbol: php_json_decode in
...
househippo's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

PHP - Failed to connect libcouchbase to the server on Centos/Redhat 6.4

Get an conncetion error
Warning: Failed to connect libcouchbase to the server: Connection failure in
on the webpage
BUT
When I run it through the command line the warning does not show.

I think its the same problem in the post but it does not give an answer....

elad.feinberg's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

declare TTL on PHP SDK

Hi,
I've tried to find a way to declare TTL for new key, I see this option exists on Ruby's SDK but nor on PHP.
Is there a way to declare it on PHP?
Tnx,
E.

Pages