Connect with us

How To Install MAMP On Windows 10 | Change The MAMP Server Ports

How To Install MAMP On Windows 10

Computer Science

How To Install MAMP On Windows 10 | Change The MAMP Server Ports

(Last Updated On: October 18, 2021)

MAMP stands for Macintosh, Apache, MySQL, and PHP. It is an easy to use application. You can install on your MacOS and Windows. It is particularly best suited for WordPress to run locally on your computer.

In this tutorial you will learn step-by-step to how to Install MAMP on Windows 10 and how to change MAMP server ports.

  • Follow these steps to install MAMP on Windows 10:

 

Step 1:

How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click the Windows version.- It is available for Windows 7, 8.1 & 10.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Run the Setup.
  • It will show you a window, “Do you want to allow this app to make changes to your PC?” Click Yes.
Best Selling WordPress Themes | Responsive and Mobile Friendly
  • In the next step, tick the both checkboxes.
  • Click Next.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Select, I accept the agreement.
  • Click Next.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Select the path.
  • By default, it chooses the C:/ drive, but it is not a good practice to install on C:/ drive because if Windows gets corrupt or stops work, you will lose your data as well.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click Next.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  •  Click Next.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click Next.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click Install.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • It will take 5 to 10 minutes.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click Finish.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • You can see that both MAMP & MAMP PRO have been installed.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports

 

Step 2:

  • Click The MAMP.
  • It is showing me an error, “APACHE needs open port 80 which is already used by System”.
  • It means that port 80 is being used by some other application like Skype or IIS or WAMP etc.
  • Click Setup new port.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click MAMP.
  • Click Preferences.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click Ports.
  • Click Set MAMP ports to default.
  • Click OK.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • You can see the ports have been changed.
  • Click OK.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Windows will issue an alert window.
  • Give Access to Apache HTTP Server.
Best Selling Code Scripts and Plugins
  • Tick Private Networks only.
  • Click Allow access.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Close the MAMP.
  • Since the ports have been changed, we need to run the MAMP Server again.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • When you restart MAMP it might tell you again that, “APACHE needs open port ‘8888’, which is already used by httpd”.
  • Now click Use next free port.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Now it is suggesting port: 8889.
  • Click Yes.
  • By default localhost is accessed by http://localhost/MAMP/
  • Now the port has been changed, so it would be accessed like http://localhost:8889/MAMP/
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Now Windows will ask permission for mysqld.
  • Tick private networks.
  • Click Allow access.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • You can see both Apache Server & MySQL Server are running.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Now Everything is done.
  • Click Open WebStartPage.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports

You might get this rubbish information when you open localhost like this, “N���
5.6.34-log�
���^l&s4GJ|�ÿ÷�€����������QbvLXW*jZejd�mysql_native_password�!��ÿ„#08S01Got packets out of order”

How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • It shows this raw information because it failed to make connection with MySQL database because of port no.
  • Now, click MAMP.
  • Click Preferences.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Click Ports.
  • Change the MYSQL port no to 3306.
  • Click OK.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Now, refresh the browser or click the Open WebStart page again.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • That’s it, you’re done. MAMP has been installed successfully.
  • You can see all the details in this page.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports

 

Step 3: Access The Root Directory

  • MAMPhtdocs is the root directory where you will put or create files.
  • Create new folder, test.
  • Create a html file, index.html. Don’t forget to remove .txt extension.
  • On Windows, click View, tick File name extensions. It will display the extensions of files.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Open with notepad and type something like, “<h1> Hi, Thanks Meer’s World </h1>.
  • My path looks like F:MAMPhtdocstest.
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • Now run this on localhost.
  • The URL would be: http://localhost:8889/test/
How To Install MAMP On Windows 10 Step By Step | How To Change The MAMP Server Ports
  • If you like this post don’t forget to share this post with other people. Share your feedback in the comments section below.

 

Recommended Posts

 

Meer Basit is the founder of Meer’s World. He’s been running the show since launching the blog back in 2018. By background he is a computer scientist. Primarily, he creates content around blogging (WordPress, Blogger, Tumblr), SEO, affiliate programs, earn-online, reviews, eCommerce, & technology. He has got years of professional experience in web programming, computer programming, databases, data warehousing, & transcription. In general, he likes traveling, gardening, watching movies, is a passionate cricketer, creative writer, and a GSD lover.

2 Comments

2 Comments

  1. Hazuka

    September 22, 2019 at 2:44 pm

    thanks, tutorial very helpfull.

    • Meer Basit

      September 23, 2019 at 3:22 am

      You’re most welcome, Hazuka.

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Computer Science

To Top