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; }by Humza - Nginx Mailing List - English
I'm loosing you here, I posted the file called "php", and that only has one include which is to fastcgi_params which is below: fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_nameby Humza - Nginx Mailing List - English
I found the "php" file it is below: index index.php index.html index.htm; 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; }by Humza - Nginx Mailing List - English
Ok let me rephrase it then, I couldnt find a definitive fix. If you have a link please post it. http://aero''''''''crash.co.cc/aaa.php is an example phrase on the exact vhost that im talking about remove the '''''''' > 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. my fastcgi config isby Humza - Nginx Mailing List - English
I might as well add my php-fpm.conf - http://pastebin.com/raw.php?i=vWZJcqQh I also have a file called www.conf inside the /etc/php-fpm.d folder - http://pastebin.com/raw.php?i=p5yRQV6D Also do I need a seperate php-fpm config file for every vhost?by Humza - Nginx Mailing List - English
I know that this question has been asked before but I can't seem to fix my error pages. 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. My nginx.conf and the vhost that I am working on are hereby Humza - Nginx Mailing List - English