title: HHVM returns error 500
body: <p>currently i am trying to setup a hhvm server. PHP Applications works fine for me, hack lang php files not.</p>
  
  <p>My local sandbox returns (every request in error.log):</p>
  
  <pre><code>[Fri Jun 20 15:31:43.725292 2014] [proxy:debug] [pid 26542] proxy_util.c(1694): AH00925: initializing worker fcgi://127.0.0.1:9000/var/www/hhvm.local/$1 shared
  [Fri Jun 20 15:31:43.725314 2014] [proxy:debug] [pid 26542] proxy_util.c(1734): AH00927: initializing worker fcgi://127.0.0.1:9000/var/www/hhvm.local/$1 local
  [Fri Jun 20 15:31:43.725325 2014] [proxy:debug] [pid 26542] proxy_util.c(1785): AH00931: initialized single connection worker in child 26542 for (127.0.0.1)
  </code></pre>
  
  <p>My Apache Config:</p>
  
  <pre><code>&lt;virtualhost *:80&gt;
  
      # Admin email, Server Name (domain name) and any aliases
  
      ServerAdmin admin@domain.de
      ServerName hhvm.local
      ServerAlias www.hhvm.local
  
      # Index file and Document Root (where the public files are located)
  
      DirectoryIndex index.php index.html
      DocumentRoot /var/www/hhvm.local
  
      # Custom log file locations
  
      LogLevel debug
      #LogLevel warn
  
      ErrorLog /var/www/hhvm.local/log/errors.log
      CustomLog /var/www/hhvm.local/log/access.log combined
  
      ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/hhvm.local/$1
  
  &lt;Directory /var/www/hhvm.local&gt;
          Options Indexes FollowSymLinks MultiViews
          AllowOverride FileInfo  All
          Order allow,deny
          Allow from all
          Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p></p>
  
  <p>Apache (2.4) is running, HHVM Daemon (3.0) is running, </p>
  
  <p>~$: hhvm index.hh </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello World!&lt;br /&gt;Running on HHVM version 3.1.0&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>If i call "hhvm.local" the server response a 500 Internal Server Error.</p>
  
  <p>OS: Ubuntu 14.04</p>
  
  <p>Could anybody help me? :)</p>