Mamp pro windows
In most cases the preset value does not need to be changed.ĭetermine which version of PHP a host will use. If you want to choose which of the IP addresses should be associated with a host, then select it from the pop up menu.ĭetermine the port with which the virtual host is accessible. If this field is left empty or contains an * the web server will use one of the computer’s IP addresses to access this host. If the servers are running you can use the Open button to open a host in your web browser. The host name may only contain letters and/or numbers, as well as dashes (“-“) īut it may not begin or end with a “-“ character. The server name and port number in combination must be unique within MAMP PRO. The fifth column will display an icon of the Extra installed if an Extra is installed. The fourth column contains the PHP version that is used with host. If left unchecked, the host will not be active and cannot be viewed in a web browser. The third column indicates whether the host is active. The second column indicates which web server will host the file. The first column contains your host name. Use this option to copy the contents of your template folder to your new document root folder. You may use the same template, js, and css files/folders in every site you develop. You can optionally add the contents of a templates folder. Most content management systems require a database, and you can conveniently add one here.Ĭopy the contents of a template folder to the document root You can optionally create a MySQL database.
Mamp pro windows pro#
MAMP PRO will automatically add an “index.php” file and a MAMP image to this location when your web server is restarted if the folder is empty. The document root is also known as the web root folder. The location of the documents (HTML/PHP files etc.) of a virtual host is called a document root. Names are not case-sensitive (upper and lower-case letters are not distinguished.) The host name may only contain letters and/or numbers, as well as dashes (“-“) but it may not begin or end with a “-“ character. To create a new host press the “Plus” button at the bottom left of the hosts table. The unreversed name may conflict with an outside domain name. The name of a host (server name) must be unique, often it’s practical to use a reverse domain naming scheme to easily identify them (e.g. Every host can have it’s own directory to store html, PHP files, and images. You can add an unlimited number of hosts allowing you to create one host per project. The virtual host “localhost” is created by default and cannot be deleted. MAMP PRO uses virtual hosts to allow your web servers to serve different websites.