Why doesn't Apache start in MAMP?

7,408

Solution 1

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

Solution 2

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.

Andy

Share:
7,408

Related videos on Youtube

Mona Jalal
Author by

Mona Jalal

contact me at [email protected] I am a 5th-year computer science Ph.D. Candidate at Boston University advised by Professor Vijaya Kolachalama in computer vision as the area of study. Currently, I am working on my proposal exam and thesis on the use of efficient computer vision and deep learning for cancer detection in H&E stained digital pathology images.

Updated on September 18, 2022

Comments

  • Mona Jalal
    Mona Jalal over 1 year

    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

    • Oliver Salzburg
      Oliver Salzburg over 10 years
      Check the Apache log file
    • Mohammad Reza Rezwani
      Mohammad Reza Rezwani almost 10 years
      check that your suggested port for Apache is not using by another program . commands like netstat on windows may help you