title: “Failed to open stream: permission denied” when starting a PHP server on Mac
body: <p>I'm trying to start a PHP server on Mac:</p>
  
  <pre><code>php -S localhost:8000 –t basic/web
  </code></pre>
  
  <p>But I get the following errors:</p>
  
  <pre><code>[Thu Dec 11 22:35:32 2014] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
  [Thu Dec 11 22:35:32 2014] PHP Fatal error:  Unknown: Failed opening required '–t' (include_path='.:') in Unknown on line 0
  [Thu Dec 11 22:35:32 2014] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
  [Thu Dec 11 22:35:32 2014] PHP Fatal error:  Unknown: Failed opening required '–t' (include_path='.:') in Unknown on line 0
  </code></pre>
  
  <p>What can I do about it?</p>