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
Post a Comment