@YamakasY: yes, but be sure to include it in the right php extensions location (php -i | grep extensions), or to add the full path to the php.ini configuration file
@YamakasY: yes, you do not have to install ibcouchbase2-libevent libcouchbase-dev. But you have to decide if you want to switch to the new version of the SDK. In that case you have to install it and change your code in order to use the new API as brett19 suggested: PHP SDK 2.0.0 Developer Preview - The Couchbase Blog
Thank you for directing me to the 2.0 API. The current getting started page http://www.couchbase.com/communities/php/getting-started directs you to download the 2.0 SDK and the sample “try it out” section still refers to API 1.x
I have now followed the instructions on the beersample app and am getting the following error:
CouchbaseException: method_not_allowed: Only GET,POST,HEAD allowed
in CouchbaseNative line 1186
at CouchbaseBucket->_view(object(_CouchbaseDefaultViewQuery)) in CouchbaseNative line 1240
at CouchbaseBucket->query(object(_CouchbaseDefaultViewQuery)) in /home/trendcan/public_html/beersample-php/index.php line 37
at {closure}()
at call_user_func_array(object(Closure), array()) in /home/trendcan/public_html/beersample-php/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php line 117
at HttpKernel->handleRaw(object(Request), '1') in /home/trendcan/public_html/beersample-php/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php line 61
at HttpKernel->handle(object(Request), '1', true) in /home/trendcan/public_html/beersample-php/vendor/silex/silex/src/Silex/Application.php line 504
at Application->handle(object(Request)) in /home/trendcan/public_html/beersample-php/vendor/silex/silex/src/Silex/Application.php line 481
at Application->run() in /home/trendcan/public_html/beersample-php/index.php line 80