Fix for a blank page php5-fpm & nginx

You know that everything works good and then suddenly you get a blank PHP page. Well, dont uninstall PHP or NGINX as I did. Instead do insert into your host file this code:

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

Find out more at

http://mattiasgeniar.be/2011/11/24/nginx-returning-blank-white-page-on-php-parsed-with-fastcgi-or-php-fpm/

Advertisements