미분류

PHP SDK 2.0.0 Developer Preview 2

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: https://www.couchbase.com/blog/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.

문서

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

https://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 (https://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 https://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

이 기사 공유하기

작가

Brett Lawson is a Principal Software Engineer at Couchbase. Brett is responsible for the design and development of the Couchbase Node.js and PHP clients as well as playing a role in the design and development of the C library, libcouchbase.

댓글 남기기

카우치베이스 카펠라를 시작할 준비가 되셨나요?

개발 시작하기

NoSQL을 탐색하고, 리소스를 찾아보고, 튜토리얼을 시작하려면 개발자 포털을 확인하세요.

카펠라 프리 사용하기

단 몇 번의 클릭으로 카우치베이스(Couchbase)를 직접 체험해 보세요. Capella DBaaS는 시작하기 가장 쉽고 빠른 방법입니다.

연락해

Couchbase 제품군에 대해 더 알고 싶으신가요? 저희가 도와드리겠습니다.