Segmentation fault on connection (php sdk )
Im having hard time with the php sdk (php-ext-couchbase-1.1.0-dp5-ubuntu1110-x86_64) wich generate a segfault error each time I try to connect to a couchbase server.
I tried to connect to 1.8 and 2.0, same result.
Here is the libraries I have on the server:
ii libcouchbase-dev 2.0.1-387 library for the Couchbase protocol, development files ii libcouchbase2 2.0.1-387 library for the Couchbase protocol ii libcouchbase2-backend 2.0.1-387 library for the Couchbase protocol ii libcouchbase2-core 2.0.1-387 library for the Couchbase protocol, core files ii libcouchbase2-libevent 2.0.1-387 library for the Couchbase protocol (libevent backend)
I tried on debian6 and fresh ubuntu 12.04 (I tried 1004 and 1110 versions of the php extentions) and result when I execute from CLI is always:
Segmentation fault (core dumped)
Of course any other php code works fine.
My php code is the same as in the readme file:
<?php $cb = new Couchbase("couch.myserver.com:8091", "user", "pass", "default"); $cb->set("a", 1); var_dump($cb->get("a")); ?>
Anybody have an idea of what I am missing ?
Thank you very much !