Has anyone been able to get PHP SDK 2.0.1 to run on Windows IIS 7.5? I had it working fine with pre 2.0.x SDK builds. If I place the 2.0.1 php_couchbase.dll into the ext folder and leave the libcouchbase.dll in the root php directory, it returns the following error:
Fatal error: Uncaught exception ‘CouchbaseException’ with message ‘Invalid arguments’ in CouchbaseNative:182 Stack trace: #0 CouchbaseNative(182): _CouchbaseCluster->__construct(‘couchbase://xxx…’, ‘’, ‘’) #1 D:\Dropbox\WWW_dev\localhost\cb.php(5): CouchbaseCluster->__construct(‘couchbase://xxx…’) #2 {main} thrown in CouchbaseNative on line 182
If I remove libcouchbase.dll from the root php directory, I get the following error:
Fatal error: Class ‘CouchbaseCluster’ not found in D:\Dropbox\WWW_dev\localhost\cb.php on line 5
Any ideas?
EDIT: Here’s the PHP code I’m using, straight from the Couchbase PHP SDK 2.0 documentation:
$myCluster = new CouchbaseCluster(‘couchbase://xxx.xxx.xxx.xxx’);
$myBucket = $myCluster->openBucket(‘default’);
Due to an unfortunate issue in libcouchbase, you must pass a cluster configuration string that includes a scheme (ie: try couchbase://10.2.36.8, rather than just 10.2.36.8). We hope to get this fixed as soon as possible.