From 345193c59e0d101438527e84e31a0cab94b2228b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Feb 2018 14:40:13 +0100 Subject: [PATCH 1/2] improve install documentation (link to fedora official package) --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 063ed39..a0616d1 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,27 @@ It supports 5.x and 7.x releases of PHP interpreter. The target system should have libcouchbase installed. Detailed guide and links to the most recent versions located here: https://developer.couchbase.com/server/other-products/release-notes-archives/c-sdk. +### PECL + Couchbase PHP client generally available through PECL: http://pecl.php.net/package/couchbase ```bash pecl install couchbase ``` -RPM packages available for Fedora 24-27 and RHEL 6-7 linux on https://rpms.remirepo.net/. +### Binary packages + +RPM package for Fedora 24-27 available in official repository, its name is [php-pecl-couchbase2](https://apps.fedoraproject.org/packages/php-pecl-couchbase2). + +```bash +dnf install php-pecl-couchbase2 +``` + +RPM package for RHEL and CentOS 6-7 linux available on [Remi's repository](https://rpms.remirepo.net/). + +```bash +yum install php-pecl-couchbase2 +``` Additionally Windows builds available from [Release Notes and Archives](http://developer.couchbase.com/server/other-products/release-notes-archives/php-sdk) page. @@ -38,6 +52,8 @@ brew tap homebrew/homebrew-php brew install php70-couchbase # or other version instead of 70 (PHP 7.0) ``` +### Build from sources + If you are going to prepare patches, or just need to install the most recent version from git, make sure you have PHP development tools and headers installed, and run the following commands: From 430c567479c86c491d35ead70f9bd47aba6edcb1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Feb 2018 14:47:48 +0100 Subject: [PATCH 2/2] drop versions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0616d1..79cc403 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,13 @@ pecl install couchbase ### Binary packages -RPM package for Fedora 24-27 available in official repository, its name is [php-pecl-couchbase2](https://apps.fedoraproject.org/packages/php-pecl-couchbase2). +RPM package for Fedora available in official repository, its name is [php-pecl-couchbase2](https://apps.fedoraproject.org/packages/php-pecl-couchbase2). ```bash dnf install php-pecl-couchbase2 ``` -RPM package for RHEL and CentOS 6-7 linux available on [Remi's repository](https://rpms.remirepo.net/). +RPM package for RHEL and CentOS linux available on [Remi's repository](https://rpms.remirepo.net/). ```bash yum install php-pecl-couchbase2