MAMP Server Installation step by step Guide CIS408 Internet Computing

Step 1: Installation Requirements To use the MAMP, your system must meet the following requirements:

: Apple OS X 10.10.5 or later  Mac with 64-Bit CPU from Intel (x84) If you have some more doubt, have a look at the documentation from the link given below.

 https://documentation.mamp.info/en/MAMP-Mac/

Step 2: [Very Important] Now I would suggest you watch this small video which explains how to install MAMP in macOS and host a web application using MAMP which stands for Mac-Apache-MySQL-PHP. Once you are done with watching this you will have overview of MAMP and how to use PHP to create a simple Web application, then go ahead with Step 3.

 https://www.youtube.com/watch?v=142gdRw-bts

Step 3: Download MAMP package for macOS from below site. Both MAMP and MAMP Pro will be in the same package. It will install both MAMP and MAMP PRO.  https://www.mamp.info/en/downloads/

Step 4:

Once you have downloaded the package, double click on the MAMP_MAMP_PRO_5.7.pkg file which will be there in your Downloads folder.

 During the Installation, click through the installation wizard. You don’t need to change anything.  After successful installation click on Okay. You need to accept the License Policy and need to enter the Administrator password for authentication.

Step 5: Once Installation is done, now, if you go to the Applications, there will be two folders as shown in the screenshot below. 1 -> MAMP 2 -> MAMP PRO

We will only use MAMP folder.  So, if you click on MAMP folder, there will be many files as well as folders as shown in the screenshot below.  We need to focus on the folder name htdocs where the application will be hosted.

Step 6:

Now how to start our servers?

Navigate to Applications/MAMP in Finder and open MAMP.app.

 You will see below screen and click on Start Servers Button from where both Apache as well as MySQL Server can be started.

Step 6:

Once both the server starts. The following page should open in your browser: