Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Allen's Blog:
MongoDB on OS X with the stock PHP installation
Jun 07, 2010 @ 16:07:08

After a bit of trial and error Rob Allen was able to get MongoDB up and running on his local OS X installation of PHP. He's blogged about how he did it with the help of the homebrew tool.

MongoDB was mentioned a few times at tek and I said that I wanted to have a look at. Travis' article, MongoDB: A first look, came out a few days ago and piqued my interest further. Then Matthew sent me some source code that requires it. The stage was set for getting MongoDB working on my Mac.

Using the homebrew utility he was able to easily install MongoDB itself and setting up PHP support for it was as simple as calling the "pecl" command line to grab and build the shared object. Drop it into your php.ini file and you're all set to go.

tagged: mongodb osx install homebrew tutorial

Link:


Trending Topics: