I needed a local web server for make some .php experiments whitout transfer data to my website and make them in remote.
I did not have time for install and configure Apache and Php so i was looking for something already configured ready to go application working with few clicks: MAMP
Mac OS X :operating syste, Apache as web server , MySQL – database management system; while P is for PHP, Python or Perl, (applications web developement languages)
MAMP is basically the equivalent of LAMP platform on Linux servers
Installation is very trivial, at the end will have:
, choose MAMP and click
Once opened, it is enough to click on start icon and everything will start.
From here it is possible to change Mamp settings :
You can choose if automatically start server when you’ll start Mamp, if open web start page, if stop service when you’ll quit Mamp
You can modify port number: default port are:Apache : 8888 – Nginx : 7888- MySQL : 8889, but nothing prevents for example to use classic port 80 for Apache (unless it is already used from other service in your machine.
Therefore your website will have this address: http://localhost:8888, clearly if you want use port 80, address will be http://localhost
You can choose which Php version to be used
phpMyAdmin : http://localhost:8888/phpMyAdmin/?lang=en
Web Server section:
You can choose between Apace and Nginx and you can modify root folder (where you have to put your website)
Show Mysql current version