Welcome! Log In Create A New Profile

Advanced

Re: PHP Not Working

April 16, 2011 03:34PM
On 16/04/2011 16:59, Cain wrote:
> Hey I am new ;)
>
> 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? :)
>
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.

http://tomasz.sterna.tv/2009/04/php-fastcgi-with-nginx-on-ubuntu/

Regards

Ian



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

PHP Not Working

Cain April 16, 2011 11:59AM

Re: PHP Not Working

hobson42 April 16, 2011 03:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready