Problems with fastcgi php migration
Igor Sysoev
is at rambler-co.ru
Mon Mar 10 13:25:06 MSK 2008
On Mon, Mar 10, 2008 at 06:03:18AM -0400, Ian M. Evans wrote:
> Igor Sysoev wrote:
> >On Sun, Mar 09, 2008 at 06:42:27PM -0400, Ian M. Evans wrote:
> >>2) Isn't parsing custom 404 as PHP.
>
> Found fastcgi_intercept_errors on; so #2 is fixed.
>
> >Is nginx document root the same as PHP's on ?
>
> Do you mean a setting in php.ini?
No, I mean
location / {
root ONE;
}
location ~ \.php$ {
root ONE;
fastcgi_param SCRIPT_FILENAME /ONE$fastcgi_script_name;
# or
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list