Welcome! Log In Create A New Profile

Advanced

Re: PHP + FPM with error pages

April 11, 2011 12:48PM
Yay I fixed it:

location ~ \.php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
fastcgi_intercept_errors on;
error_page 404 /error/404.php;
}
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: 270
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready