Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

nt.tung's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 days 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-...

arnaudco's picture
Asked 4 months 3 weeks ago

Spatial Views and JQUERY

Dear Members,

I try to use jQuery.getJSON() or jQuery.get() in order to get spatial view from my couchbase database but It does not work.

URL used in get() function :
http://localhost:8092/project/_design/...

juan-rs's picture
Asked 5 months 2 weeks ago

$persist_to and $replicate_to

We're replacing our memcached client with the couchbase php client.

We are currently using moxi (locally on each web server).

The $persist_to and $replicate_to parameters on some of the methods default to 0 and I am trying to find out what the default moxi behaviour is for this. I...

sungsoo's picture
Asked 7 months 7 hours ago
Latest activity 6 months 4 weeks ago

PHP 5.2 support ?

I want to test Couchbase in my web application.
But I failed to install PHP API on my server.
The error message is shown below:

# /usr/local/bin/pecl install couchbase
Did not download optional dependencies: pecl/igbinary, use --alldeps to download automatically
...

morgan_chester's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Node load balancing over a php

I have a three-node Couchbase cluster;
When I'm adding all of the nodes to the server array, if the first in array node is in trouble, php is not able to connect to the other nodes, why?

Uli's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week 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 8 months 1 week ago
Latest activity 6 months 6 days 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 8 months 2 weeks ago
Latest activity 8 months 2 weeks 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 8 months 2 weeks ago
Latest activity 8 months 1 week 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 8 months 3 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)

...

Pages