Couchbase PHP Community

Are you a PHP developer who's building an app using Couchbase Server? If you have questions to ask or answers to share, you'll find what you are looking for here in our PHP Community.

Getting Started with Couchbase on PHP

Latest PHP Questions

ryanparedes's picture
Asked 1 week 19 hours ago
Latest activity 19 hours 1 min ago

PHP Fatal error: Class 'Couchbase' not found

I am trying to setup php to connect to couchbase and I get the following

PHP Fatal error: Class 'Couchbase' not found in /var/www/html/test-cbs-connection.php on line 3

Here is php source:

# cat /var/www/html/test-cbs-connection.php
<?php
// adjust...

littlewitchanita's picture
Asked 1 month 1 week ago

PHP SDK fail to get integer values

I was previously using JAVA, Perl and Erlang SDKs, all worked well.

Now I am trying to build a simple web portal using PHP, but when I try to get the values that are in integer the PHP SDK got this warning:
Couchbase::get(): could not decompress value (bad content)

Other...

Latest Community Blogs

PHP SDK 2.0.0 Developer Preview 2

I'm happy to announce the second iteration of developer preview for the new PHP SDK. This release...
Tags:   PHP SDK

Using nginx & PHP-FPM with Couchbase – The How, and the Why

Before we get started, I’d like to point you a blog by my colleague Michael Nitschinger, in which...
Tags:   PHP SDK nginx php-fpm

Benchmarking Cache Transcoders in PHP

This post analyses and benchmarks classical object serialization, igbinary and JSON. It compares...

Community Leaders

SDK Developer
Developer Advocate, Couchbase