1. Apache
Enable Apache on Mac OS X
To check what version of apache you have currently installed on your mac just open your terminal and type httpd -v

Verify if apache is running by accessing http://localhost:

If you get “This site can’t be reached”, you need to start apache, just type,sudo apachectl start and press enter:

Verify localhost again:

if you see “It works!” apache is running.