Welcome! Log In Create A New Profile

Advanced

Re: PHP + FPM with error pages

Francis Daly
April 07, 2011 02:26PM
On Thu, Apr 07, 2011 at 01:38:17PM -0400, Humza wrote:

Hi there,

> I know that this question has been asked before but I can't seem to fix
> my error pages.

So... what have you tried?

> I am currently working on a website is on a vhost (not that I could get
> a non-vhost php error message working). Any page or folder that doesn't
> have the .php extension displays my custom error page, but if it is a
> .php file I just see a blank page.

I don't get a blank page for php script missing errors, but I can get
a page with just the words "No input file specified."

> My nginx.conf and the vhost that I am working on are here:
> (-) nginx.conf - http://pastebin.com/raw.php?i=fz5xRkTH

That includes the line

include /etc/nginx/conf.d/*.conf;

so some of the configuration is hidden.

> (-) my vhost - http://pastebin.com/raw.php?i=uxTUiPM0

That includes the line

include php;

so some more of the configuration is hidden.

What is fastcgi_intercept_errors set to?

http://wiki.nginx.org/HttpFcgiModule#fastcgi_intercept_errors

And if it is "on", what does the debug log show?

Good luck,

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: 291
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