Saturngod

What's on my mind

Install Mongodb PHP driver on Mac OS X

Before install the php driver , you must have brew or portin your mac os x. I am using brew in this example. If you are using port, just change brew to port.

 

Download the source

[gist id=”3607644” file=”gitmongod.txt”]

After finishing the installation , you need to edit php.ini
[gist id=”3607644” file=”editphp.txt”]
search extension=php_zip.dll in php.ini add extension = mongo.so in under the line of extension= php_zip.dll
So, it will be like that
[gist id=”3607644” file=”php.ini”]
Save the file with :wq Restart the apache server [gist id=”3607644” file=”restartapache”]
Done. You can check mongodb in phpinfo(); and you should see like following
 
Screen_shot_2012-08-31_at_12

CodeIgniter with Coda

Update: For coda 2 , check http://www.onuryasar.com/blog-en/codeigniter-syntax-mode-for-coda-2/

Download Mod for coda 2 : http://www.onuryasar.com/blog-en/wp-content/uploads/2012/05/Codeigniter.mode-for-Coda-2-0-2.zip

Download Coda Mode http://www.codingmonkeys.de/subethaedit/modes/Codeigniter.mode.zip Unzip and you will get Codeigniter.mode folder Copy Codeigniter.mode to your_user_name/Library/Library/Application Support/Coda/Modes You will see CodeIgniter in Coda -> Text -> Syntax Mode That support autocomplete.

Mac For Free (New Website of mine)

Now, I launch another blog site www.macforfree.com with English and Myanmar Language. I write about free software and tip about Mac.I hope, it will be happy for Mac User :)

 

www.macforus.com