Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

ledude's picture
Asked 1 year 1 week ago
Latest activity 1 year 1 week 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 2 weeks ago
Latest activity 1 year 3 days 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 2 weeks 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 5 months 1 week 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 3 weeks 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 1 month ago
Latest activity 7 months 2 weeks 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 1 month ago
Latest activity 1 year 1 month 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.

househippo's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Centos PHP SDK install issue

Cannt install the PHP SDK when I execute this command I get this:
# pecl install couchbase
I get this error
checking for gcc... no
configure: error: in `/var/tmp/pear-build-8Bfnq/couchbase-1.1.5':
configure: error: no acceptable C compiler found in $PATH
See `...

mandries's picture
Asked 1 year 2 months ago
Latest activity 1 year 1 month ago

PHP Warning: Failed to establish libcouchbase connection to server: Connection failure

I am trying to connect to a remote server installation of Couchbase 2.0.1 (verified through web console access) from my local workstation (Windows XP SP3) using the php sdk and I keep getting: "Warning: Failed to establish libcouchbase connection to server: Connection failure in ..."
I am...

Pages