couchbase.so not loading OSX (Re-compilled and still no go)
Hey guys - trying to connect my local MAMP install to Couchbase for testing.
I'm using MAMP with PHP 5.4.4 mac OSX Mountain Lion
I downloaded the couchbase.so from the website and tried linking that in my PHP.INI file with no success. After I found several posts claiming to recompile the PHP extension, I did so. Now, getting another error message.
PHP Warning: PHP Startup: couchbase: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [20-Nov-2012 00:24:07 UTC] PHP Fatal error: Class 'Couchbase' not found in /Users/alek/Sites/index.php on line 3
As you can see, I can't load the Couchbase class using PHP. My theory is that when I compiled the extension, it was using an older version of PHP that comes with the Mac. However, because I'm using MAMP theres a PHP mismatch?
Grasping at straws, can anyone shed some light on this? Anyone have this successfully running with MAC OSX and MAMP?
Oh, incase anyone needs to know what I did to compile the source, here's the steps, perhaps I missed a step.
$ unzip couchbaselabs-php-ext-couchbase-2680b64.zip $ cd couchbaselabs-php-ext-couchbase-2680b64 $ phpize $ ./configure $ make $ sudo make install