After upgrading to Debian 8.0, php5-fpm is serving blank pages

Upgrading from Debian 7.8 to 8.0, in certain cases NginX + PHP5-FPM y not serving properly PHP pages, offering just a blank page.

nginx-php

The solution can pass through:

1. nano /etc/nginx/sites-enabled/default

2. In the piece of:

location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}

Make sure the bold line is included.

3. /etc/init.d/php5-fpm restart

This could work.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *