nginx - Open bucket error with PHP Couchbase client -


i have couchbase 3.0.1 installtion on 64bit centos vps. have installed nginx server php-fpm. have installed c sdk , php sdk. when want open bucket, return 'generic network failure' error.

my code is:

<?php $mycluster = new couchbasecluster('couchbase://localhost'); $mybucket = $mycluster->openbucket('messenger','password'); ?> 

stack trace:

0 [couchbasenative]/couchbasebucket.class.php(74):   _couchbasebucket->__construct('couchbase://loc...', 'messenger', 'password')  1 [couchbasenative]/couchbasecluster.class.php(61):   couchbasebucket->__construct('couchbase://loc...', 'messenger', 'password') 2 /usr/share/nginx/html/cb.php(5):   couchbasecluster->openbucket('messenger', 'password')  3 {main} thrown in [couchbasenative]/couchbasebucket.class.php on line 74 


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -