Start Programming PHP with MAMP
Ray Dotson - November 14, 2006If you have been around the web for a little while, you’ve probably heard of PHP or PHP: Hypertext Preprocessor. This is one of the most popular web programming languages right now and for good reason. It’s flexible, powerful, relatively easy to learn, and, best of all free.
The problem I had with beginning to program in PHP,though, was that I had no place to test it before uploading to a web server. So, I went to the search engines and found a solution: MAMP. This is a development environment consisting of Macintosh – Apache – MySQL – PHP.
I’m doing my development on my trusty little iBook, so I had to find something that would work with Macintosh. MAMP is perfect. After a rather large download, MAMP is easy to install. Simply unzip the file, mount the disk image (.dmg) file by double-clicking, and then drag and drop the MAMP folder from the disk image to your Applications folder.
Using MAMP is as easy as double-clicking the application file to turn on the servers. After that, all you have to do is copy your web files into the ‘htdocs’ folder inside the MAMP application folder and navigate to ‘localhost:8888’ in your browser.
You may know that OS X already comes with versions of Apache and PHP installed. So, why use MAMP? Because, MAMP puts it all together in one easy install. You don’t have to mess around with configuration files or downloading and installing MySQL. The installation doesn’t touch any of the important files already on your Mac and if you ever want to uninstall it, just drag the MAMP folder to the trash can. And one more great reason to use MAMP? It’s freeware.
This entry was posted on Tuesday, November 14th, 2006 at 6:04 am and is filed under Developer, Freeware, Internet, Mac Stuff, Main, Open Source, Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
November 20th, 2006 at 11:21 am
i did try it
December 15th, 2007 at 11:27 pm
Wow great thanks
April 18th, 2008 at 7:39 pm
MAMP is awesome. There’s a great book for real beginning Web programmer that uses MAMP (Macs) and xampp(PC and Linux) is “A Web-based Introduction to Programming: Essential Algorithms, Syntax and Control Structures Using PHP and XHTML.” I took this guy’s course and the book was perfect for a beginner like me.. Web site is http://www.mikeokane.com/textbooks/WebTech/