Installing
Habari isn't really that complicated, however getting OS X up and running ready for the installation requires a bit of work.Mac OS X 10.5 (aka Leopard) conveniently comes with Apache 2 and PHP 5, so most of the work in setting up a
MAMP server has already been done for you. Sure there are other ways to get a MAMP setup: you can build Apache, MySQL and PHP from sources, you can use
MacPorts or you can use pre-built packages like
MAMP or
XAMPP.I prefer to use as much of what is supplied with the OS as possible as there's no point having duplicate applications on a system. It also makes keeping them up-to-date much easier - it becomes Apple's job, not mine.Anyway, in order to get all the way through this article there are a couple of requirements:1. You have
XCode installed2. You're fairly comfortable in using the command line.This last requirement isn't strictly true as I will provide all the commands you need to run anyway.The rest of this post assumes you've not configured PHP, Apache or MySQL on OS X at all yet. If you have, don't worry, I'm sure you'll be able to easily pick things up.NOTE: There is one caveat with this approach: Apple's updates may require you to redo any one of the steps below as it may replace files you've modified or provide newer incompatible versions of software.Update: You can find details on installing gd on OS X as a universal binary for 32-bit and 64-bit
here.
Continue reading ►