
Create a new folder and name it Sites (The Safari icon shown below gets added automatically to the Sites folder as shown below).

This will take you to your home directory, which will also be whatever your computer is named in this case it's david.


Mac already comes with PHP, so you don’t need to install it from PHP.net. Open Safari (or your browser of choice), type localhost in the address bar, and press enterĬan’t believe it’s that easy? It is! You should now see It works! in the browser.Type sudo apachectl start and press enter.Open Terminal by clicking on the magnifying glass at the top right corner of your screen and searching for Terminal.
