

{"id":1684,"date":"2016-09-17T11:32:10","date_gmt":"2016-09-17T10:32:10","guid":{"rendered":"http:\/\/www.fabionline.net\/aaaaaaa\/?p=1684"},"modified":"2025-03-31T20:44:14","modified_gmt":"2025-03-31T18:44:14","slug":"mamp-web-server-e-non-solo-in-locale-con-pochi-click","status":"publish","type":"post","link":"https:\/\/www.fabionline.net\/blog\/tech-news-tutorials\/mamp-web-server-e-non-solo-in-locale-con-pochi-click\/","title":{"rendered":"Mamp: a local web server (and not only) with few clicks"},"content":{"rendered":"<p>I needed a local web server for make some .php experiments whitout transfer data to my website and make them in remote.<br>\nI 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: <a href=\"https:\/\/www.mamp.info\/en\/downloads\">MAMP<\/a><br>\nwhere:<br>\n<strong>M<\/strong>ac OS X :operating syste, <strong>A<\/strong>pache as web server , <strong>M<\/strong>ySQL &#8211; database management system; while <strong>P<\/strong> is for\u00a0 PHP, Python or Perl, (applications web developement languages)<br>\nMAMP is basically the equivalent of LAMP platform on Linux servers<br>\nInstallation is very trivial, at the end will have:<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1945 size-full\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/mampss.png\" alt=\"\" width=\"136\" height=\"65\" \/>, choose MAMP and click <img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1685\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/mamp.png\" alt=\"mamp\" width=\"60\" height=\"63\" \/><br>\nOnce opened, it is enough to click on start icon\u00a0 <img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1688\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/startMamp.png\" alt=\"startmamp\" width=\"62\" height=\"53\" \/> and everything will start.<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1880 size-full\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/mampconsole_mini.png\" alt=\"mampconsole_mini\" width=\"430\" height=\"325\" \/><br>\nFrom here <img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1689\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/prefmamps.png\" alt=\"prefmamps\" width=\"61\" height=\"51\" \/>\u00a0 it is possible to change Mamp settings :<br>\n<strong>Start\/stop section:<\/strong><br>\nYou can choose if automatically start\u00a0 server when you&#8217;ll start Mamp, if open web start page, if stop service when you&#8217;ll quit Mamp<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1698\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/startstopmamp.png\" alt=\"startstopmamp\" width=\"509\" height=\"214\" \/><br>\n<strong>Sezione Ports:<\/strong><br>\nYou can modify port number: default port are:Apache : 8888 &#8211; 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.<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1694\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/portsettingsmamp.png\" alt=\"portsettingsmamp\" width=\"480\" height=\"202\" \/><br>\nTherefore your website will have this address: <span style=\"color: #0000ff;\">https:\/\/localhost:8888<span style=\"color: #000000;\">, clearly if you want use port 80, address will be https:\/\/localhost<\/span><\/span><br>\n<strong>Php Section<\/strong><br>\nYou can choose which Php version to be used<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1695\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/phpmamp.png\" alt=\"phpmamp\" width=\"480\" height=\"164\" \/><br>\n<strong>Urls<br>\nphpInfo<\/strong>: http:\/\/localhost:8888\/MAMP\/index.php?language=English&amp;page=phpinfo<br>\n<strong>phpMyAdmin<\/strong> : https:\/\/localhost:8888\/phpMyAdmin\/?lang=en<br>\n<strong>Web Server section:<br>\n<\/strong>You can choose between Apace and Nginx and you can modify root folder (where you have to put your website)<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1696\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/webservermamp.png\" alt=\"webservermamp\" width=\"480\" height=\"167\" \/><br>\n<strong>Sezione MySql:<\/strong><br>\nShow Mysql current version<br>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-1699\" src=\"https:\/\/www.fabionline.net\/blog\/wp-content\/uploads\/mysqlmamps.png\" alt=\"mysqlmamps\" width=\"480\" height=\"82\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/www.fabionline.net\/blog\/tech-news-tutorials\/mamp-web-server-e-non-solo-in-locale-con-pochi-click\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/posts\/1684"}],"collection":[{"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/comments?post=1684"}],"version-history":[{"count":1,"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/posts\/1684\/revisions"}],"predecessor-version":[{"id":2614,"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/posts\/1684\/revisions\/2614"}],"wp:attachment":[{"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/media?parent=1684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/categories?post=1684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fabionline.net\/blog\/wp-json\/wp\/v2\/tags?post=1684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}