title: Start a PHP server on Mac OS X
body: <p>I am figuring out how to use <a href="https://github.com/openid/php-openid" rel="noreferrer">PHP OpenId</a></p>
  
  <p>I have cloned the repo to the <code>~/www</code> directory. There are some examples in the <code>php-open-id/examples</code> directory which I wanted to run.</p>
  
  <p>Specifically, I wanted to render the page <code>php-open-id/examples/consumer/index.php</code> in order to better understand the API. I started a server in the <code>php-open-id/examples</code> directory using</p>
  
  <pre><code>python -m SimpleHTTPServer 8000
  </code></pre>
  
  <p>and I navigated to <code>localhost://consumer/index.php</code></p>
  
  <p>But it didn't work. It shows a dialog box to save the file. What is the correct way to render this PHP file?</p>