Skip to content Skip to footer navigation

Using MAMP and Valet On the Same System

Using MAMP and Valet On the Same System

MAMP and Valet can conflict if they're running simultaneously, due to them trying to use the same ports. I've written some instructions here on how to deal with this—basically, you need to make sure they're not running simultaneously.

They can still exist happily side-by-side though. I found it easier to leave Valet’s config alone and instead make sure MAMP is not bullish. Bear in mind Valet silently starts up automatically every time you log into macOS. So you want to make sure MAMP does not also automatically start its servers when macOS starts. To do this:

  1. In MAMP go to “Preferences > Server.”

  2. Make sure you untick “Start Apache and MySQL on system startup.” This should also stop MAMP firing up when your system starts.

If You Want to Use MAMP

You need to make sure Valet is not running.

  1. Open the Terminal application in macOS.

  2. Type “valet stop” (without the quotation marks). You should be prompted for your system password. Enter it, and Terminal should inform you that Valet has stopped.

  3. Once Valet has stopped, you should now be safe to click the “Start Servers” button in MAMP.

If You Want to Use Valet / Statamic

You need to make sure MAMP is not running.

  1. Open MAMP and click the “Stop Servers” button in the top right. This button should not be green.

  2. Once MAMP’s servers have stopped, you should now be safe to start Valet.

  3. If you had previously stopped Valet, open the Terminal application in macOS. Type “valet start” (without the quotation marks). You may be prompted for your system password. Enter it, and Terminal should inform you that Valet has started.