In order to work with PHP, we must ensure that the prerequisites necessary for the implementation of programs. In the development context of web applications, a web server with PHP is mandatory.

MAMP stands for Macintosh, Apache, MySQL, and PHP. It is an easy to use application. You can install on your MacOS and Windows.

As Wikipedia states, the name MAMP is an acronym that stems from the names of the components of the system: macOS (the operating system); Apache (the web server); MySQL or MariaDB (the database management system); and PHP, Perl, or Python (programming languages used for web development).

MAMP is a program that allows you to install a local server environment on your computer.

Here are the list of reference to read instructions on this topic:

For MacOS:

For Windows: