Local Web Development Environment Setup on Yosemite
Aug 18, 2014 - Nathan Reid
A quick guide to get your Local Web Development Environment Up & Running on OSX 10.10 Yosemite.
With the OSX Yosemite Developer Preview recently installed I thought it might be a good idea to document how we setup our Local Development Environment on OSX 10.10.
Setting up Apache
There is no switch in System Preferences to turn on Web Sharing as in previous versions of OSX. Never fear, the latest version of Apache is preinstalled on Yosemite and ready start.
Open the application Terminal.
To start Apache enter:
sudo apachectl start
To stop Apache enter:
sudo apachectl stop
To restart Apache enter:
sudo apachectl restart
After starting Apache, we can test to see if the webserver is working in Safari.
Enter http://localhost – you should see the “It Works!” text.
*Note. The Apache version that comes in Yosemite is now Apache/2.4.9.