Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

Uli's picture
Asked 8 months 5 days ago
Latest activity 8 months 5 days ago

php script dies on $couchebase->set, please help

Hi, I'm new to this.

here my issue..

<?php
error_reporting(E_ALL);
$cb = new Couchbase("127.0.0.1:8091", "", "", "default");
?>

outputs
object(Couchbase)#1 (1) { ["_handle":"Couchbase":private]=> resource(2) of type (Persistent Couchbase...

michaelsteuer's picture
Asked 9 months 2 days ago
Latest activity 6 months 4 weeks ago

CouchbaseClusterManager doesn't work

I'm trying to use the CouchbaseClusterManager to perform certain actions on buckets, but I don't get passed the instantiation. Whatever I try next, fails.

Here's an example:

$cbm = new
...
opq6789's picture
Asked 9 months 1 week ago
Latest activity 9 months 1 week ago

Centos5 can't get PHP client library , can't Install the PHP SDK

Centos5.9 x86_64 Two questions please

1.Get a Client Library

yum install -y libcouchbase2-libevent libcouchbase-devel , I got the errors:

couchbase | 2.9 kB 00:00
couchbase/primary_db...

pl's picture
Asked 9 months 1 week ago
Latest activity 9 months 6 days ago

Windows 2008 IIS 7.5 installation problem

UPDATE: I forgot to put libcouchbase.dll in with the dll's, I placed it in the root of php folder (not the ext fiolder) its now showing up in phpinfo()....so my only remaining question is where does couchbase.ini go or what do I do with it?
=================
I've installed...

pildit's picture
Asked 9 months 2 weeks ago

Parameter 3 to Couchbase::get() expected to be a reference, value given

Please help Couchbase

I'm having a problem with this warning...

My code was :

$val = Yii::app()->couchbase->get(static::getPrefix() . $key, null, &$casToken)

...

Nir Shneor's picture
Asked 9 months 4 weeks ago
Latest activity 9 months 4 weeks ago

php-ext-couchbase-1.1.2-ubuntu1110 - "Failed to create libcouchbase instance"

We are using php-ext-couchbase-1.1.2-ubuntu1110, and for the first time after few months, our production servers have restarted, so our couchbase severs were reconfiged.

After that, using 'default' username and '' (empty) password, and specific port 8091, we got the error - "Failed to...

jcotton's picture
Asked 10 months 1 week ago
Latest activity 9 months 2 weeks ago

PHP-FPM & large number of connections to the couchbase cluster

We're currently facing some performance issues with our application and Couchbase is the culprit. One area we are looking at is the shear number of connections our application servers have with the couchbase cluster. My understanding is that each PHP-FPM process will create n+1 connections to...

ksnyde's picture
Asked 10 months 2 weeks ago
Latest activity 10 months 2 weeks ago

Can't query buckets ... segment fault 11

I had been using Couchbase 2.0.1 on my home and laptop computers (both OSX 10.8.5) with no problem for many months and then suddenly my laptop stopped working. Specifically the ability to use PHP to get or set documents in buckets started returning a "segment fault 11".

In the hope that...

edibusl's picture
Asked 10 months 2 weeks ago
Latest activity 7 months 3 weeks ago

Problem when connecting to multiple nodes from PHP

Hello,

I try to connect to a couchbase cluster with this way:
$cb = new Couchbase(array("ip-20-296-110-131.ec2.internal:8091","ip-20-254-129-133.ec2.internal:8091"), COUCHBASE_USER, COUCHBASE_PASS, COUCHBASE_VIEWS_BUCKET);

When the first node in the array is down, there isn't...

Kynao Yooky's picture
Asked 10 months 3 weeks ago
Latest activity 8 months 2 weeks ago

Updated Windows PHP Client Library

Hi,

Where can we find updated PHP Client Library for windows ?
The information seems outdated here http://www.couchbase.com/communities/php/getting-started and the pecl repository :...

Pages