How to install MAMP on a PC
A guide on how to install the MAMP application on Windows, so that you can run websites locally on your PC.
Note:
- Given that the first 'M' in the title of the software stands for Macintosh, it's a confusing to be installing something called MAMP...but the software cannot be called WAMP as there is already software by that name that performs in a similar way.
- For the most up-to-date information on how to install MAMP on a PC (and the requirements needed) see this page - https://documentation.mamp.info/en/MAMP-Windows/Installation/
- There are two versions of MAMP (MAMP and MAMP PRO) that can get installed. This tutorial will ignore MAMP PRO and just use the free version called MAMP
1. Go to the MAMP website - https://www.mamp.info/
2. Click on Free Download...
3. Click the version of MAMP & MAMP PRO (which can get installed together) for Windows...
Note
- Depending on how your PC and web browser are set up, the location that this file downloads to on your PC may differ. Unless you have specifically made a change to your browser settings, it will likely download to your Downloads folder.
- If you have an older PC, you can find previous versions of MAMP on their site (https://www.mamp.info/en/downloads/older-versions/) but the older versions of MAMP come with older versions of PHP and MySQL that may not run TNG properly. If you are on an older PC and need to run newer versions of PHP and MySQL that come with MAMP, then the free version of MAMP is not the approach to use.
4. Double-click on the installer (if your browser hasn't opened it automatically) to begin the install process...
5. Windows may ask you to confirm that you want this installer to make changes. Click Yes...
6. MAMP for the PC makes use of the .Net Core Framework. If you don't have this installed on your PC, you are going to need to install it. Click OK when this message appears...
7. The .NET installer will launch. Click Install...
8. When the framework has been installed, click Close...
9. The MAMP installer should start. Click Next >...
10. Untick the box next to MAMP PRO and it won't be installed (you can just run the free version of MAMP in this example) and click Next >...
11. Accept the license agreement and click Next >...
12. Click Install...
The installer should now begin the install process...
13. When the installation is complete, click Finish...
14. Look for the MAMP shortcut that has likely been placed on the desktop on your Windows PC and double-click it...
15. Windows is likely going to prompt your twice over two security issues related to running MAMP locally on your PC. For the MySQL alert, click Allow access...
16. For the Apache HTTP Server alert, click Allow access...
17. When MAMP starts up, click on the MAMP menu and click Preferences...
18. Click on PHP and change the version of PHP to version 8 and click OK...
19. If you receive a warning about the PHP version, click OK...
20. Your local copy of your TNG website is going to be stored in a folder that MAMP created called the "htdocs" folder. Click on Web server and then click the Open button and OK...
21. To save some time in the future, click on the htdocs folder...
Now right-click on the folder and drag it to the desktop and let go. You should now see an option to create a shortcut for that folder on your desktop, so click Create shortcuts here...
You now have a shortcut to the MAMP application and a shortcut to the htdocs folder on your desktop.
22. If MAMP isn't running, double-click the shortcut to start it running. When the application launches, click Start Servers...
23. When the green light shows next to the words "Apache Server", click Open WebStart page...
24. Your web browser should start launch at this point and you may find that it prompts you with a security alert. This is fine and you should just click Open...
And the WebStart page for MAMP on a PC should load. You can tell that you are running a local web server as the web address for the WebStart page will likely include the words "localhost"...
You're all ready to start using MAMP for Windows! There isn't going to be a specific tutorial on installing TNG using MAMP on a PC, as the process will be exceptionally similar to the experience when using MAMP on a Mac.
Back to MAMP | Next - How to install TNG on your Mac using MAMP