Home » Macintosh, Web

How to Install MAMP on your Mac

19 February 2011 2 Comments
VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)

How to Install MAMP on your MacDo you want to start your online business? Are you an entrepreneur and want to do it yourself instead of making someone else to do it? Do you have a Mac? If you answer yes to all these questions, then you need to start from the basics. If you have a Mac, you should start by installing MAMP. Once you”re comfortable with the setup, you can upload your site to your ISP and make it live.

What is MAMP? MAMP is an acronym which stands for Macintosh, Apache, MySQL, and PHP. It consists of all these free software that is packaged together into one bundle for ease of use. With a few clicks, you can download, install and have it running on your Mac OS X. The following steps will guide you to installing MAMP on your Mac.

Step 1: Download MAMP

The first step is to download MAMP. The one you want to download is MAMP, not MAMP PRO. For a basic site, MAMP works just fine. MAMP PRO works too but it is not free.

Step 2: Install MAMP

After you have downloaded MAMP, the next step is to install it. Double-click on the compressed (.zip) file to uncompress it. Double-click on the disk image (.dmg) file to install it.

You will see two applications listed (MAMP and MAMP PRO). Drag MAMP to the Applications folder to copy the MAMP folder to the Applications folder.

Step 3: Configure MAMP

Start MAMP by going to the Applications folder and double-clicking on the MAMP folder and double-clicking on MAMP. When you see the warning dialog box, click on “Launch MAMP.” When the MAMP dialog box appears, you should a green icon next to Apache Server and MySQL Server.

By default, MAMP is configured with different ports than the standard ones for Apache and MySQL. You may want to configure it to make it easier to access your site. Click on Preferences and then go to the Ports tab. Click on the button “Set to default Apache and MySQL ports” to specify port 80 for Apache and port 3306 for MySQL.

Open the Finder and go to the /Users/<username>/Documents folder. Replace <username> with the path to your home directory. Create a directory called www. Once that”s done, go back to MAMP, click on the Apache tab, and specify the Document Root path. Replace username with the location of your home directory.

/Users/<username>/Documents/www

After making the configuration changes, you need to stop and restart the servers. You should now be able to go to http://localhost to access your site.

Step 4: Troubleshoot MAMP

It is possible that one day your Apache or MySQL Server on MAMP will stop working and you don”t know why. You will need to look at the log files and see if there is any indication of what is causing the issue. It could be a permission issue. By default, the log files are located at

/Applications/MAMP/logs

There should be a apache_error_log (for Apache logging) and mysql_error_log.err (for MySQL logging). View either or both log files depending on your situation.

How to Install MAMP on your Mac, 10.0 out of 10 based on 1 rating

Incoming search terms:

  • mamp troubleshooting

2 Comments »

  • Wendy Saxton said:

    Wow! Looks like a brilliant tutorial index. :) I just impressed to find very special idea to install MAMP in mac. :D It’s really brilliant learning aspect though very critical exposed. Thanks! ;)

    VA:F [1.9.22_1171]
    Rating: 5.0/5 (2 votes cast)
  • Kevin Frickles said:

    I’ve been getting frustrating moments cause I was unable to know how to download this crap. Thanks to you! I got an idea on downloading unreliable applications too. Good job sir.

    VA:F [1.9.22_1171]
    Rating: 5.0/5 (1 vote cast)

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.