June 24, 2014

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 includes a few new minor features, but primarily consists of internal changes implemented through the use of the newly release libcouchbase 2.4.0 developer preview (read more here: http://blog.couchbase.com/introducing-libcouchbase-24-0).

In addition to the numerous performance and maintainability changes introduced through libcouchbase 2.4.0, we have additionally included some other minor changes:

  1. The cluster bootstrap list (list of couchbase nodes) is now replaced with a powerful and flexible uri-like format.
  2. Support for SSL-encrypted communications with the cluster.
  3. Support for cross-SDK datatype handling.  This allows you to easily pass data between PHP and other languages supporting this feature.

Documentation

The documentation describing the full API is available to peruse here:

http://sdk-snapshots.couchbase.com/php/php_couchbase-2.0.0dp2-docs/

Get It

If you are on a linux system, to install the developer preview version of the library, simply grab the source code linked below, then build and install it:

phpize
./configure --enable-couchbase
make && make install

If you are on a Windows system, you can opt to download the tarball and build the source yourself. Or alternatively there are links to the popular build types below as well.

Build Download
Source Code php_couchbase-2.0.0dp2.zip
Windows PHP 5.3 NTS vc9 x86 php_couchbase-2.0.0dp2-5.3-nts-vc9-x86.zip
Windows PHP 5.3 ZTS vc9 x86 php_couchbase-2.0.0dp2-5.3-zts-vc9-x86.zip
Windows PHP 5.4 NTS vc9 x86 php_couchbase-2.0.0dp2-5.4-nts-vc9-x86.zip
Windows PHP 5.4 ZTS vc9 x86 php_couchbase-2.0.0dp2-5.4-zts-vc9-x86.zip
Windows PHP 5.5 NTS vc11 x64 php_couchbase-2.0.0dp2-5.5-nts-vc11-x64.zip
Windows PHP 5.5 ZTS vc11 x64 php_couchbase-2.0.0dp2-5.5-zts-vc11-x64.zip
Windows PHP 5.5 NTS vc11 x86 php_couchbase-2.0.0dp2-5.5-nts-vc11-x86.zip
Windows PHP 5.5 ZTS vc11 x86 php_couchbase-2.0.0dp2-5.5-zts-vc11-x86.zip

NOTE: You MUST have libcouchbase 2.4.0 installed (http://packages.couchbase.com/clients/c/index.html) prior to the installation of the php extension.

If you encounter any issues, please post directly to the Couchbase Communities site at http://www.couchbase.com/communities/php. Additionally, bugs can be reported directly through our issues tracker available here: https://www.couchbase.com/issues/browse/PCBC

I hope you enjoy!

Cheers! Brett

Comments