Mamp is an acronym for (Macintosh, Apache, MySQL, and PHP) specific to the Mac operating system, later extended to Windows.
Mamp is used to run code on localhost to help programmers to install each part of PHP, MYSQL, Apache ... It encapsulates everything, just start, reset and stop. If you've ever used XAMP, it's the same.
MAMP is mainly for development and running PHP code for free, it supports both Python, Ruby, Perl but for the paid PRO version.
If you are knowledgeable about virtual host configuration, only PHP programming is not necessary to buy the PRO version, because currently I am using the PRO version is not different from the Free version.
In my opinion, the Free version is enough for you to develop fully functional and professional local code.
And many of the good things about it, you can learn more on Google
Mamp download link: https://www.mamp.info/en/downloads/ (Supports MacOS and Windows)
After downloading, proceed to install normally:
MacOS:
The htdocs folder is located in /Applications/MAMP/htdocs
This is the directory containing your projects,
By default, the Mamp will have the following path:
http://localhost:8888/name_project
We need to bring back port 80 to have the following form:
Open up MAMP and Set MAMP ports to default
step 3
Once done click OK to reset MAMP
Windows:
The htdocs folder is located in C:\MAMP\htdocs
The configuration is similar to the Mac
Experiment
Create a project name folder in the htdocs directory containing the index.php file with the following content:
<?php
phpinfo();
Then in the browser we access:
http://localhost/project/index.php
The result is OK
You can copy the source code Wordpress, Joompla, Drupal into the htdocs directory to develop the code.
Thank you for reading, if there is anything missing please share, if or please share it for me.
Source: lar.edu.vn