I have installed MAMP on OSX and while MySQL is running, Apache doesn't start. Here are some screen shots I have to describe the situation. Also when I start the server (or before that) httpd is not found in activity monitor. enter image description here

Here's the screen shot showing web sharing is off: enter image description here

And here's the screen shot showing that what are the selected ports (I have tried 8888 for Apache but it's the same exact result): enter image description here

  • Check the Apache log file Jan 5, 2014 at 11:05
  • check that your suggested port for Apache is not using by another program . commands like netstat on windows may help you May 31, 2014 at 6:32

2 Answers 2


Go to your MAMP folder in Applications. Go to bin -> apache2 -> bin:

Then rename the file from "envvars" to "_envvars".

ref: https://stackoverflow.com/questions/25201280/apache-not-starting-on-mamp-pro


It may be tied to your user name. If you haven't already, try logging in on your MAC as user admin ( if the account still exists ). It seems to be something to do with the spaces in the user name. Works for me. Although I would rather log in as me I am not sure of the implications of editing my username to exclude spaces.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.