couchbase php, mac, nginx
i'm trying since 3 days to make couchbase client works for nginx on mac for php
i have installed couchbase server for mac
i have compiled libcouchbase with libvbucket manually
added couchbase.so on php.ini and this is the error im getting when try to run php-cgi:
HP Warning: PHP Startup: Unable to load dynamic library '/opt/local/etc/php5/modules/couchbase.so' - dlopen(/opt/local/etc/php5/modules/couchbase.so, 9): Library not loaded: /usr/local/lib/libcouchbase.1.dylib Referenced from: /opt/local/etc/php5/modules/couchbase.so Reason: Incompatible library version: couchbase.so requires version 6.0.0 or later, but libcouchbase.1.dylib provides version 4.0.0 in Unknown on line 0
and when try to run php script and call new couchbase instance i'm getting php Fatal error: Class 'Couchbase' not found in ..
please any help !