Welcome! Log In Create A New Profile

Advanced

Re: PHP + FPM with error pages

Francis Daly
April 07, 2011 02:52PM
On Thu, Apr 07, 2011 at 02:31:20PM -0400, Humza wrote:

Hi there,

> > so some of the configuration is hidden.
>
> I've posted the bits that are relevant, except i dont know where to find
> the bit where i included php.

You report problems only when trying .php urls.

The config you have shown says nothing about .php urls, other than
"include php".

That would seem to make the file called php in the nginx compile-time
prefix directory (default /usr/local/nginx) relevant.

Look in that file (and in any include'd files) and see what
fastcgi_intercept_errors is set to in the location block that handles
..php urls.

If it is not set to "on", understand what it does, and set it to "on".

Test, and if it shows you what you want in this case, and doesn't break
other cases, leave it on.

Otherwise, examine the debug log.

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

PHP + FPM with error pages

Humza April 07, 2011 01:38PM

Re: PHP + FPM with error pages

Humza April 07, 2011 01:42PM

Re: PHP + FPM with error pages

Humza April 09, 2011 03:47PM

Re: PHP + FPM with error pages

Francis Daly April 07, 2011 02:26PM

Re: PHP + FPM with error pages

Humza April 07, 2011 02:31PM

Re: PHP + FPM with error pages

Humza April 11, 2011 12:48PM

Re: PHP + FPM with error pages

Humza April 07, 2011 02:43PM

Re: PHP + FPM with error pages

Francis Daly April 07, 2011 02:52PM

Re: PHP + FPM with error pages

Humza April 07, 2011 02:57PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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