Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Customizing Your Local Server Setup on a Mac

Apache server doesn't run

So when I switch over to Set Web & MySQL ports to 80 & 3306, It sets as the following Apache Port:80 Nginx Port: 80 MySQL Port:3306 MySQL sever runs but Apache Server doesn't start. Ive tried switching the Nginx port back to 7888.(Still no luck) I've also dug through my MAMP bin and changed envvars to _envvars.(no luck)

I'm running on Yosemite 10. 10.5 and MAMP 3.4

I know that long ago, I went through a tutorial on how to set up a localhost php, most of the set up process was through the terminal. Could this have something to do with it?

Lydia Medina
seal-mask
.a{fill-rule:evenodd;}techdegree
Lydia Medina
Front End Web Development Techdegree Student 18,871 Points

Hi Sarah,

Another Application on your computer is using the port 80. Change Apache Port to 8080. It should work. I had the same problem. Good Luck!

check out this YouTube Video for help https://www.youtube.com/watch?v=brpKAM2WXhk

2 Answers

kaimistrzowski
PLUS
kaimistrzowski
Courses Plus Student 7,263 Points

Hi Brandon,

When I run MAMP I often find that Skype (not sure of you're running this) causes problems when I try to start the servers.

I seem to recall that there was also a work-around needed on Yosemite:

Rename the file “envvars” located in /Applications/MAMP/Library/bin to “_envvars”

Hope this helps

Thank You Lydia and 7h3m4cker. Both of these solutions helped out. thanks -Brandon