XAMPP (windows 7 / 8) does not load Couchbase SDK for PHP
Fri, 02/15/2013 - 13:45
Hi,
it seems not to load the SDKs dll files.
I put these dlls (libcouchbase.dll + php_couchbase.dll) into this folder:
..\xampp\php\ext
added to php.ini these lines:
extension=php_couchbase.dll
extension=libcouchbase.dll
and additionally added the dlls into the windows folder + system32 to be sure...
It still does not load, no error on apache start...
BUT if I try to access to the database with my php script it throws the following error:
fatal error class 'couchbase' not found.
Anyone has an idea how to fix it??
Thanks in advance!
Kind regards,
Nekkid
Hi,
you shouldn't specify libcouchbase.dll as an extension in php.ini (it is just a library that php_couchbase.dll is linked with. You could try to use an absolute path to php_couchbase.dll to ensure that it is in the seach path for where the php binary tries to look for dlls (if it have a different search order than the system).
I haven't tried to run xampp, but I did try to run this with IIS: http://trondn.blogspot.no/2012/12/iis-php-and-windows.html
Cheers,
Trond