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

PHP Build a Simple PHP Application Getting Started with PHP Install PHP on Mac OS X

Carrie Karki
Carrie Karki
4,186 Points

Apache not turning on?

Anyone else know why my Apache is not turing on?

6 Answers

Carrie Karki
Carrie Karki
4,186 Points

So I was able to get it working.

I tried a variety of kills in terminal, and ran a few commands:

sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib

sudo apachectl stop

One of these two came back with an error in the htdoc folder. So I uninstalled everything and reinstalled it and now it is working.

If you are using skype, uncheck "using port 80 and 443" in the settings > advanced> connections tab

Can you give a little more detail? :-)

Are you using MAMP?

Do you have skype running? Last time I had that issue Skype used the same port and was conflicting until I closed it. Could be something similar, try changing the default port Apache uses.

Jeffrey Smith
PLUS
Jeffrey Smith
Courses Plus Student 15,508 Points

If you're using MAMP, I had the same thing happen to me. I had to use Terminal to stop the MAMP server and then restart it. Worked great after that.

Carrie Karki
Carrie Karki
4,186 Points

Nope, no Skype.

I just installed MAMP, and the MySQL is working, anti not the Apache.

I was thinking maybe a firewall setting at work, but from home I am having the same issue. I also made sure my web sharing is on.