title: Fatal error: Uncaught Error: Not a Hack file. can HHVM run .php file?
body: <p>Just installed HHVM and trying to run a simple index.php file, but getting the error below:</p>
  <p><strong>&quot;Fatal error: Uncaught Error: Not a Hack file&quot;</strong></p>
  <p><strong>Commands that produce the error above</strong>:</p>
  <p>hhvm index.php<br />
  hhvm --php index.php</p>
  <p><strong>index content:</strong>:</p>
  <pre><code>&lt;?php
  phpinfo();
  
  </code></pre>
  <p><strong>hhvm version</strong>:
  HipHop VM 4.86.1</p>
  <p>Note: I can run a hack file without any issue via command line or via FastCGI.</p>
  <p><code>hhvm fib.hack (run with no problem)</code></p>
  <p>Am I missing a flag or a configuration setting?
  All the tutorials that I have been able to find online state that hvvm should be able to run php with no issue out of the box.</p>
  <p>Any help will be appreciated.</p>