MAMP Pro is the professional version of the classic on-premises environment app MAMP on Mac OS X platform. Easily install and manage your own development environment for professional web developers and programmers.mamp these initials represent Macintosh, Apache, MySQL, and PHP on Mac OS x systems. Software features
- Support PHP multi-version switching
- ImageMagick Graphics processing Tools
- Dynamic DNS
- Virtual Server
- phpMyAdmin and other tools
- Support one-click Install wordpress, Joomla, Drupal and other open source applications
First of all, first say mamp download path, because there are many download methods, but can not use much. The following address pro-test is available:
http://xclient.info/s/mamp-pro.html
When installing a new version, stop all services from the old version before installing
Direct installation:
- Installing the pkg file in DMG
- Open the SN.txt (or serial.rtf) file in the DMG and add the serial number to the software activation screen
Sn:ded4-0a88-3a11-f9fdesn:cb7e-f665-a199-e2e68
After installing OK, you can test:
- http://localhost:8888/MAMP/index.php
- http://localhost:8888/
- http://localhost:8888/phpMyAdmin/index.php
Mamp installed after two software, one is Mamp, one is Mamp Pro, it is best to use Mamp Pro, because I found that using Mamp no matter how to switch the Htdocs directory will not succeed. Home Access Central: Because I have thinkphp installed in MAMP, the location of the default site must be:
/applications/mamp/htdocs/tp5/public/static/Customizing the Site DirectoryUnder Document root, select the installation directory for the/applications/mamp/htdocs/tp5/public/static Web site Directory:
- MAMP installation Location: Go to Folder->/applications/mamp
- Site Directory: Go to Folder->/applications/mamp/htdocs
- thinkphp installation Location: Go to Folder->/applications/mamp/htdocs/tp5/
Setting up PortsThe default port is 8888, about the port can be seen in the Mamp Ports tab can be viewed in the case of the port is the default 8888, each visit to the site we need to add 8888 ports, such as the above see http://localhost:8888/ We can change the port to 80, and when we visit the site, we don't have to enter a port number. Modify port, need to restart service, direct access, no port numberafter testing can not directly click on the set ports to 80,81 ... this btn, just set the Apache port to 8000, the other ports remain the same, if you set the Gen-Y restart server found that Apache could not be enabled, indicating that the port is occupied. PS: It is important to note that the port you are setting is not occupied and you manually set the other port if it is occupied.
Configure Mamp
- Tick Indexs
- Set the value of directory index to *
Modifying the configuration directory/applications/mamp/conf, this path is the configuration folderApache configuration file Location
/applications/mamp/conf/apacheconsider Apache's httpd.conf as an example
/applications/mamp/conf/apache/httpd.confhttpd.conf can configure a lot of things, we will be involved in the next part, just start the page. the start page of the sitein the above section, we say that the boot must be index.html or index.php
Install configuration in MAC MAMP using thinkphp