Thursday, September 22, 2011

Installing MAMP on MAC OS

MAMP is free software distributed as bundled package integrated with Apache the HTTP server, MySQL the Database Server and PHP for MAC OS. MAMP stands for--> M for MAC, A for Apache, M for MySQL and P for PHP. Similar bundled package for window is know as WAMP.

You can download MAMP for the website http://mamp.infor/en . Here you found two versions of MAMP. One is the free version known as simply MAMP and the other one is the MAMP PRO for which you need buy license.
MAMP and MAMP PRO version
Download the free MAMP and extract the zip file. You see a dmg file and double click on the dmg file and you find the license agreement for the MAMP and MAMP PRO. Actually you are installing both MAMP and MAMP PRO at the same time but you can not work under MAMP PRO if you don't have a MAMP PRO license and you have to work with MAMP under GNU license. 
MAMP and MAMP PRO Agreement
Click on Agree button if you agree with the terms and the conditions. After this you will see the dmg file is mounted as a virtual disk and the MAMP installation media is opened. 
MAMP Installation
Click on MAMP and drag it in the Application folder. Thta's all you have to do to install it. It will takes a couple of minutes for all the files being copied to Application folder. Once it is complete you can go in Application folder to find it.
Now goto desktop, press command and navigate to Mackintosh HD-->Application-->MAMP.  From there locate and open the MAMP application. 
Running MAMP application
If you running for the first time then you will prompt to ask permission before opening the application you just downloaded from the internet. Click open. When MAMP application open for the first time it automatically open the home page on the browser. 

Now closely notice the url and you see the localhost use the port 8888, a non standard port for the Apache HTTP server. So you have to modify that. Now close all the window except the MAMP application manager
MAMP manager
Click on the preference and from the port tab click on the Set to default Apache and MySQL ports, these will rest the ports click ok.



Now if press start home page then on the url you won't see the port number because it is change to its default and the MySQL port is also changed to its default no.

This is how you install and primarily configure MAMP for you MAC OS.

0 comments:

Post a Comment