Mine:
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REMOTE_ADDR $remote_addr;
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_buffering off;
}
But after a search in the forum about PHP, I found this thread
[size=78%]https://forum.nedi.ch/index.php?topic=2066.0[/size]Than I changed 7.1 to 7.0 in configuration files (not in script) and now seems OK.
Now 1.6 is running both under Apache and nginx, (http and https) even this is a little confusing. Luckily "System - Files" procedure now don't show browser download window any more.
I'll look for a smooth upgrade procedure. I can't (and don't want) to migrate from Debian to Ubuntu and/or do reinstallations from scratch.
Anyway, don't worry for me. I'm (we are) not a paying client. My company is too huge for caring the opinion of a "low level" technician like me, so for the moment I can't convince them to subscribe...
Maybe soon I'll change my assignment and so the duty will be for another one.
Thanks a lot anyway!