title: PHP built in webserver and Document root folder
body: <p>So I'm watching Laracasts videos and got confused on how he got the document to listen to a folder on his desktop? </p>
  
  <p><a href="https://i.stack.imgur.com/f43FO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f43FO.png" alt="enter image description here"></a></p>
  
  <p>in the picture attached is a screenshot of his document root folder listening on php-learning folder on the Desktop similar to mine. I'm using OS X EL Capitan.  My document root says /Users/myname</p>
  
  <p>I'm using the terminal to call php -S localhost:8888</p>