Load Balancing PHP
Michael Shadle
mike503 at gmail.com
Mon May 31 23:08:36 MSD 2010
Check the script_filename in fcgi.conf (post it) it should be in caps
too but I'm on my iPhone :)
If that looks okay then make sure the file is accessable in the right
location on the remote hosts. Cause that's how PHP throws a 404 (that
is so annoying)
Jerome maybe php-fpm sapi could be patched to throw a 404 header and
something resembling a proper error? ;)
On May 31, 2010, at 11:53 AM, "Mickie D" <nginx-forum at nginx.us> wrote:
> [code]
> upstream newsite {
> server 127.0.0.1:9000;
> server 15.82.114.196:9001;
> }
>
> server
> {
> listen 80;
> server_name thissite.com;
> index index.html index.htm index.php;
> root /data0/htdocs/www/forum;
>
>
>
> location ~ .*\.php?$
> {
> include fcgi.conf;
> fastcgi_pass newsite;
> fastcgi_index index.php;
>
>
> }
> [/code]
>
>
> I think this might be a permission thing ? but I have no idea how to
> fix it
>
> Still getting the:
>
> [b]no input file specified[/b]
>
> Not sure how to make the main server work with my other server ?
>
> Thank you very much
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,92738,92775#msg-92775
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list