Apache not starting in MAMP (but MySQL working) in OSX

Djave picture Djave · Dec 14, 2012 · Viewed 89.5k times · Source

I've had MAMP working for a few months and recently installed PostgreSQL. It recommended installing Apache as well, which I did to make sure PostgreSQL worked. I then uninstalled PostgreSQL and the apache build and tried to restart MAMP. It fired up the MySQL database (green light) but Apache didn't start. I uninstalled and reinstalled MAMP only to face the same problem.

Apache doesn't seem to be logging any errors in the MAMP folder, so without any errors to report I'm struggling with where to begin fixing it. I'm hoping its to do with the fact that I installed another version (and deleted it) that has caused the problem but I'm too inexperienced to know what I've done.

Where might I find any errors if not in the MAMP folder? Not in:

  • /Applications/MAMP/Library/logs
  • /Applications/MAMP/bin/logs

Answer

Qullbrune picture Qullbrune · Jun 18, 2014

Stoping the Apache solved this issue for me, using the command-line:

sudo apachectl stop