title: My nginx + fastcgi configuration downloads php files instead of executing them
body: <p>I'm using this configuration on a fresh install of php5-fpm and nginx on ubuntu 13.04:</p>
  
  <pre><code>server {
      listen 80 default_server;
      listen [::]:80 default_server ipv6only=on;
  
      root /usr/share/nginx/html;
      index index.php index.html index.htm;
  
      server_name localhost;
  
      location / {
              try_files $uri $uri/ /index.html;
      }
  
      location /doc/ {
              alias /usr/share/doc/;
              autoindex on;
              allow 127.0.0.1;
              allow ::1;
              deny all;
      }
  
      error_page 404 /404.html;
  
      location ~ \.php$ {
              fastcgi_split_path_info ^(.+\.php)(/.+)$;
              # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
  
              # With php5-cgi alone:
              fastcgi_pass 127.0.0.1:9000;
              # With php5-fpm:
              fastcgi_pass unix:/var/run/php5-fpm.sock;
              fastcgi_index index.php;
              include fastcgi_params;
      }
  }
  </code></pre>
  
  <p>But, my web browser is seeing php as text instead of the executed results.  Where should I look to troubleshoot?</p>