I have just spent the day trying to get mongodb.so installed into my AMPPS.
I eventually got brew to build 1.1.8 of mongodb.so which I installed into AMPPS.
Staggered was I to find out that it wouldn't load the modules because it AMPPS is built for the i386 and can't load x86_64 binaries.
I have spent a couple of hours trawling the forums and reading stackoverflow in order to find out what can be done about this problem. There are a lot of calls for a 64bit version but the project has been promising this for about 2 years and so far nothing has turned up.
I could try to install a 32bit brew and start downgrading all my support binaries to 32bit but I really feel this is the wrong direction to go in.
I have recently switched from XAMPPS to AMPPS and this is the first blocker that is making me want to switch back. XAMPPS is all compiled into 64 bit and plays well with my other binaries.
Surely it's time for an OSX 64bit version on AMPPS?
Well I have spent the day trying to get homebrew to compile a 32 bit version of php55-mongob.
I can compile all the dependant libraries individually using the --universal switch which creates an i386 and x86_64 binaries in one file. The problem comes with PHP, it doesn't have a ./configure file that supports 32 bit output and as a result the php55-mongodb doesn't support it either (what would be the point).
I am searching the internet for a compatible 32 bit version of mongodb.so and there doesn't seem to be one.
So it's back to XAMPPS which is a real ball ache because I spend ages splitting my single htdocs/paths to use AMPPS's virtual hosts.
Does anyone have a 32-bit mongodb.so that works with AMPPS?