PHP and Web Hosting with Mac
How to Start Up and Have Fun with Your Free OSX Server
In the summer of 2003 I was what you might call programming illiterate. I have always used and loved Macintosh computers, but if you asked me how to construct a web page, let alone set up a server with PHP capabilities, I would have been about as useful as a professionalStarting up the Server
As it turns out, the Mac OSX operating system (the original OSX, Jaguar, Panther, and now Tiger) ships with a little gem of a web server called Apache, a dynamic and very easy to use piece of Open Source software that lets you host a web site from your own computer.
Starting up the server is easy. Just open System Preferences, click on the Sharing pane, select ‘Personal Web Sharing,' and click on the Start button to activate the server. Voilá, your site should appear in your browser at the address "127.0.0.1."
If this web address seems strange to you, just think of it as the defualt address used to access the site or web page stored on your computer. Every web address you enter into your browser is also some combination of four numbers, separated by periods (.). The name ‘www.yahoo.com', for example, is used to replace the numbered address, so that it is easier for you to type and remember. The address "127.0.0.1" is the number used to designate the "localhost" address, or in other words, the default address of the site hosted by the computer you are currently on.
At "127.0.0.1" you should see a web page saying:
If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
Most Comments Today
- Oh No! Michael Jackson's Body and Brain Missing Is Michael Jackson's body and brain missing? According to many websites they... 33 Comments
- Michael Jackson is Missing The casket is missing, where is it? How did it disappear? 32 Comments
- Real Estate: Renting Your Home and Bad Tenants If you decide to rent out your home, do a thorough reference check with previ... 28 Comments
- Hot News Quickies - Thursday, July 9, 2009 News happens while you sleep - get your Hot News Quickies here! 28 Comments
- Every Day Heroes At every disaster, in every community, when people are hurting who are the fi... 25 Comments
- Sarah Palin 2012? Sarah Palin 2012? 25 Comments






Posted on 03/28/2007 at 9:03:00 PM