MAMP's name comes from the Macintosh Apache MySQL PHP, which is clearly designed to build Apache, MySQL, and PHP platforms in a MAC environment.
Although the Apache 1.3.x and PHP 4.3.2 environments are already preinstalled in OSX, enabling, configuring, and installing MySQL integration is still a very complex task. MAMP is characterized by its simplicity (as seen in the following installation steps), and it does not destroy the files of the system itself, and the scope of the modified and created files is limited to the program itself.
System requirements: Mac OS X 10.4 (Tiger) and above (for 10.3 Panther users can install MAMP 1.4.1)
Installation steps:
- Go to the official website to download the latest version.
- Open the DMG file and drag MAMP into the Applications folder (Note: MAMP must be in the Applications folder to work properly).
Set Mamp
- Open MAMP (instead of MAMP Pro), select the Preferences tab and see the Settings for the port (Ports). The default Apache port is 8888, and if not modified, it means that it needs to be accessed via http://localhost:8888/. You can also change to other (for example, change to 80, you do not have to enter: The following part), but the disadvantage is that you need to enter the password every time.
- Choose PHP 5.2.4 or above in PHP tags (minimum requirements for WordPress 3.2).
- In the Apache tab, select the location of the file, this can be arbitrarily modified. For example, my settings are:
/Users/renfei/Documents/localhost
- Click OK to complete the setup.
Open the MAMP service and create a database
- Click Start Servers, and wait a moment to find that the red light turns green, indicating that the service is open successfully.
- When on, the MAMP start page should appear automatically (if not, click the Open Start Page button.
- Select PhpMyAdmin in the Web page that opens, and then select the Database tab. In the new database, give your database a name (for example, I use
wordpress ), fill it out and then click "New".
Install WordPress
- Download WordPress.
- After downloading, unzip, put the WordPress folder to the previously set file storage location. According to my settings, the files are all in
/Users/renfei/Documents/localhost/wordpress
- Visit localhost (according to my settings, address
localhost:8888/wordpress ) and start to familiarize yourself with the WordPress installation process.
- The relevant content is filled in this way:
Database Name:wordpressdatabase host/server:localhostdatabase user:rootdatabase password:root
At this point, the entire installation process is complete, you can use WordPress in this machine.
http://blog.csdn.net/meegomeego/article/details/13289421
Go: Configure the Mamp server in OSX and configure WordPress