Welcome! Log In Create A New Profile

Advanced

Re: nginx and php fast cgi different server?

May 01, 2011 11:04PM
On Mon, May 2, 2011 at 9:59 AM, flubber <nginx-forum@nginx.us> wrote:
> Hello All,
>
> I'm a newbie on nginx, currently i have configure nginx n php fast cgi
> with same server, i want to split nginx and php fast cgi with different,
> it's posibble?
>
> I have test change fastcgi_pass point di php fast cgi to other server,
> but when access site just get "No input file specified." and no error
> report.
>
> This my configuration.
>
>        location ~ \.php$ {
>                #fastcgi_pass   127.0.0.1:9000;
>                fastcgi_pass   10.1.1.10:9000;
>                fastcgi_index  index.php;
>                fastcgi_param  SCRIPT_FILENAME
> /var/www/html$fastcgi_script_name;
>                include fastcgi_params;
>        }
>
> My nginx nginx/0.9.6, please advice and suggestion
>

the fastcgi files (in this case, php files) must be located in the
other server (10.1.1.10 in this case)

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

nginx and php fast cgi different server?

flubber May 01, 2011 10:59PM

Re: nginx and php fast cgi different server?

edogawaconan May 01, 2011 11:04PM

Re: nginx and php fast cgi different server?

flubber May 02, 2011 12:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
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