hasen's tech life

Twitter: @hasen

OSX (El Capitan)にphp-couchbaseをインストールした.

# OSX (El Capitan)にphp-couchbaseをインストールした.

$ cd /usr/local/src
$ git clone https://github.com/couchbase/php-couchbase
$ cd php-couchbase
$ phpize
> Configuring for:
> PHP Api Version: 20131106
> Zend Module Api No: 20131226
> Zend Extension Api No: 220131226

# error
$ ./configure --enable-couchbase
> ... (略)
> configure: error: the couchbase extension requires libcouchbase

$ brew isntall libcouchbase
> ... (略)

# success
$ ./configure --enable-couchbase
$ make && make install