Setting up a basic MAMP server

Step 1. Download MAMP

Step 2. Move over your MAMP_MAMP_PRO_3.5.2.pkg file over to your Application Folder.

Step 3. Double click on the package & follow the prompts to install on your computer.

Step 4. Once installed you’ll notice you have 2 folders that say MAMP. For now, we will just be focusing on the free version of MAMP. Within the mamp directory, look for a folder called htdocs


This is where you will be adding your first index.html file.


<!DOCTYPE html>
<title>My first website</title>
Hello World!

Your directory structure would look like: /Applications/MAMP/htdocs/index.html

Step 5. Now you’re ready to click on the MAMP icon. If you click on preferences you’ll notice your default Apache Port is 8888. This is important because this is the port your application will be listening to. Now go back and click on Start Servers. If all went well you should have a green server icon and the Apache and MySql Server should show green.

Now you can access your index.html page by navigating to:


You can also get useful information by clicking on the Open WebStart Page Icon. This will let you know your default mySQL user + password and have the link to open up phpMyAdmin.



Like what you read? Give d!a a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.