Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

cchuter's picture
Asked 11 months 4 days ago
Latest activity 10 months 2 weeks ago

Spatial Views and Php

Does this exist, yet? (querying a spatial view in php)

I'm going to be really bummed if it doesn't, as I think I have the perfect test case. Is there a way to use spatial views or can someone show me a good workaround in PHP?

Here's what I've done. I've made a spatial view -...

diegoz's picture
Asked 11 months 6 days ago
Latest activity 11 months 5 days ago

How can I get php_couchbase.dll x64 for Windows 7?

As per subject, I need the 64 bit version of php_couchbase.dll to use on Windows 7. I know that there is a 32 bit version available, but it won't work on a 64 bit setup, and I can't reinstall everything in 32 bit just for that single file. I saw that there are 64 bit versions for Linux, but I...

akumar's picture
Asked 11 months 6 days ago
Latest activity 11 months 4 days ago

PHP Couchbase Client operation timed out

I've installed Couchbase 2.1.1 Enterprise edition on Server A, PHP Couchbase::Client on servers B and C. Servers B and C are setup identically on RHEL 5.8 and PHP 5.3.3.

I'm facing issue on server C wherein, I'm able to establish Couchbase connection but any subsequent Read and Write...

nornholdj's picture
Asked 11 months 1 week ago
Latest activity 7 months 5 days ago

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


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 11 months 1 week ago
Latest activity 11 months 1 week 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/' -...

ledude's picture
Asked 11 months 2 weeks ago
Latest activity 11 months 2 weeks 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 11 months 3 weeks ago
Latest activity 11 months 2 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 12 months 2 days 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 week ago
Latest activity 4 months 2 weeks 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 week ago
Latest activity 1 year 15 hours ago

Couchbase connection errors


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...