Download MAMP Pro and Install

Note: all MAMP Pro specific configuration files are in /Library/Application Support/appsolute/MAMP PRO/

Configure PHP Preferences

  1. Click the “PHP” section
  2. Set default PHP version as desired
  3. Enable “Make this version available on the command line”
  4. Set “mode” to “Individual PHP version…”
  5. Enable the “Xdebug” extension
  6. Enable “Log error ‘to screen'”

Setup Virtual Hosts

Click the “Hosts” section and add hosts as needed.

Create 2 host records for each site (http and https).  Hold down the ALT key when pressing the plus sign “+”  to bypass the popup when creating the second host.  They will show up in red and you will get a warning that you already have a host with that name, but that’s okay.

Update Command Line Services

These steps will allow you to run the MAMP services like apachectl and mysql from the command line using the MAMP versions (instead of the ones that come with your Mac) without having to put the full directory path to these commands.

  1. Edit your .bash_profile file… (you will need to do this for each user account on your Mac)
    vi ~/.bash_profile
  2. Add the following somewhere in that file…
    # MAMP export PATH=/Applications/MAMP/Library/bin:$PATH export PATH=/Applications/MAMP/bin/php/php5.6.30/bin:$PATH
  3. After making the change just close Terminal and reopen.

Additional information about this change…

Setup MySQL Time Zone Support

Follow these instructions… Install MySQL Time Zone Support on MAMP Pro

0 0 votes
Article Rating
Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
6 years ago

[…] you have already updated your command line services per MAMP Pro Setup then you can simply […]