Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
Check the Apache log file –  Oliver Salzburg Jan 5 at 11:05
    
check that your suggested port for Apache is not using by another program . commands like netstat on windows may help you –  lion May 31 at 6:32

2 Answers 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|improve this answer

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

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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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