PHP Not Working

Hey I am new :wink:

Anyway I seem to be having a problem with PHP files.

I get a 404 error on them on any other browser and a broken page on
Chrome.
I found a small log and here is the details from it

2011/04/16 15:51:27 [error] 22810#0: *1 upstream sent unsupported
FastCGI protocol version: 60 while reading response header from
upstream, client: 81.99.173.32, server: thefoool.co.uk, request: “GET
/cain.php HTTP/1.1”, upstream: “fastcgi://81.99.173.32:80”, host:
“thefoool.co.uk”

Can you please tell me what’s wrong with it? :slight_smile:

Posted at Nginx Forum:

On 16/04/2011 16:59, Cain wrote:

upstream, client: 81.99.173.32, server: thefoool.co.uk, request: “GET
/cain.php HTTP/1.1”, upstream: “fastcgi://81.99.173.32:80”, host:
“thefoool.co.uk”

Can you please tell me what’s wrong with it? :slight_smile:

Hi Cain,

From the error message it appears that you may be passing the PHP to
port 80, (where
it is being handled by nginx, which rejects it), and not the port you
have started the fastcgi
servers on.

This blog post explains the wayt o set it up nicely.

Regards

Ian