Global PHP Rule

Michael Shadle mike503 at gmail.com
Mon May 4 05:33:00 MSD 2009


On Sun, May 3, 2009 at 5:56 PM, Jim Ohlstein <jim.ohlstein at gmail.com> wrote:

> Correct me if I'm wrong, but you still have to put
>
> location ~ \.php$ {
>        fastcgi_pass 127.0.0.1:9000;
>
>        ...
> }
>
> for each server block where you want to configure php. Even if you are able
> to put the fastcgi_pass directive into fastcgi_params, something I haven't
> tried, you'd still need

yup. that's the only piece that i need to specifically put.





More information about the nginx mailing list