OS X 10.5 Virtual Host and PHP
I found instructions for editing the host file and enabling PHP at 456bereastreet.com.
What is a host file? Lets say your editing website locally and would like to bypass any security errors caused by the localhost url. You can use the host file to redirect the real url "www.jonathanspooner.com" to point at your local copy.
I also added a short cut to my profile document so I can just type 'host' in terminal and TextMate will open the doc.
To do this create a file named .profile in your users directory "/Users/yourusername/" and bash script like the one below. I have a few other handy shortcuts in there too.
alias host="mate /private/etc/hosts"