Couchbase Questions: PHP SDK

Have a Question? Get it answered by our community

rdominy's picture
Asked 1 year 4 months ago
Latest activity 1 year 3 months ago

Key limit in View queries?

I'm querying a view using the PHP SDK using the view method, $object->view($ddocname [, $viewname ] [, $viewoptions ]), and finding that when I pass in a certain number of keys in the viewoptions param, the method silently fails and just returns null. It appears that 164 keys is OK, but 179...

cschlupp's picture
Asked 1 year 4 months ago
Latest activity 1 year 4 months ago

Re-adding documents fails

Hi folks,
I experienced a weird behaviour on my Couchbase cluster running version 2.0.1 community edition (build-170-rel).
Through PHP-lib I execute the following code:

  $json =
...
ebrue's picture
Asked 1 year 4 months ago
Latest activity 1 year 4 months ago

How do I tell what version of the PHP SDK I am running?

How do I tell what version of the PHP SDK I am running? From "php -i | grep couchbase" I get this:
couchbase
couchbase support => enabled
couchbase.compression_factor => 1.3 => 1.3
couchbase.compression_threshold => 2000 => 2000
couchbase.compressor...

maxidirienzo's picture
Asked 1 year 4 months ago
Latest activity 1 year 2 months ago

PHP sdk issues at startup

Hi everyone, I just installed a fresh copy of CentOS 6.3 64bits and installed Couchbase server 2.0
After installing several libs (crypto, ssl, etc) I was able to run Couchbase and access it from the web console.
I've downloaded the php sdk from...

maxidirienzo's picture
Asked 1 year 4 months ago
Latest activity 1 year 2 months ago

HP sdk issues at startup

Hi everyone, I just installed a fresh copy of CentOS 6.3 64bits and installed Couchbase server 2.0
After installing several libs (crypto, ssl, etc) I was able to run Couchbase and access it from the web console.
I've downloaded the php sdk from...

nekkid's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

PHP SDK takes ages to establish connection to Couchbase

Hi everybody,
I'm having issue using the SDK for PHP.
If I try to estabilish a connection it takes ages...
Here some code:
$old = microtime (true);
$db = new Couchbase(...);
echo microtime (true)-$old."
";
$old = microtime (true);
$db->get...

jgillmanjr's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

PHP Append Functionality Broke

Greetings,
So it looks like append functionality is broke with the PHP API.
This works:

<?php
        $cb = new Couchbase("couchbase1:8091", "", "", "default");
 
        $array['test1
...
OZ's picture
Asked 1 year 6 months ago
Latest activity 1 year 6 months ago

PHP - how to create View from script

Is it possible to create view from PHP script?
How?

abritez's picture
Asked 1 year 6 months ago
Latest activity 1 year 6 months ago

Issues with Mountain Lion and installing PHP SDK

I am running OSX.8.2 and am not having any luck getting my getting couchbase.so to be recognized.
Fatal error: Class 'Couchbase' not found in /path/testCouchBase.php on line 3
I am running PHP Version 5.4.11
I installed the C library, and downloaded the 64-bit version of the...

biswajit's picture
Asked 1 year 7 months ago
Latest activity 1 year 7 months ago

PHP SDK Delete

Can you please confirm this?
I am trying to remove a document via http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-update....
the code...

Pages