So lets go ahead and set it up so you can serve up files from your “Sites” folder.Open up your text editor and create a file named after your “Home” folder.In my case it would be with the name of your “Home” directory. This will allow Apache to serve files out of your “Sites” folder. You’ll also need to restart Apache for this to take effect.

updating mac os x tiger to leopard-74

Here are the steps to get it geared up: 1) Install Mac Ports – Download/instructions for Mac Ports (Be sure to pick the correct file for your OS X version.) 2) Open the saved file to install Mac Ports.

3) After installation of Mac Ports is complete, there’s one more item to check.

Simply open Terminal, paste this command: And that’s it, Pu TTY will be installed on your machine. That is, if you are running the newest version of OS X, which you certainly should be.

Some people are very used to Pu TTY and they miss it when they are on a Mac. Pu TTY doesn’t work “naturally” on OS X, so you need to use Mac Ports to ‘port’ it to your Mac.

I was was really happy to finally get this working. So to get started, browse to Again make sure to change the directory structure above to reflect your “Home” folder and the folder within your “Sites” folder you want to serve files out of. So to test it out and make sure everything’s working properly, go ahead and move the created earlier into your new directory in your “Sites” folder. It’s odd that Apple didn’t include My SQL with Leopard as it’s pretty much synonymous with PHP.

If it’s successful you’ll again see: Too add more virtual hosts run through the above steps again. Anyway, you have a couple options for installing My SQL on Leopard.I personally use Coda so all that you have to do is click on the “View” menu and choose Show Invisible Files, as illustrated below: You can also run this simple Terminal command to “show” all hidden folders in Finder: . All the most popular extensions are already activated so you should be good to go.Don’t be alarmed if it asks for your system password… However if you need some of PHP’s extended features you may want to consider rebuilding PHP from source code as I’ve read the version that ships with Leopard has been problematic for some.Virtual hosts are essential if you want to serve multiple websites from your “Sites” folder.You can choose pretty much any “domain” name you want or mirror any production sites you have hosted on a live server.It’s all pretty easy to do but requires a little attention to detail in parts. Most of the files we’ll be working with are actually hidden from Finder.