Upgrading Wheezy to Jessie: Nginx and PHP5-fpm
🖊️ Austin Riba ⌚ 🔖 code 💬 1
I just upgraded this VPS from Debian Wheezy to Jessie. The upgrade went pretty flawless, excpet some minor issues with postgres and the new bad systemd smell.
However, if you are a few: Make the entrance to the Allies’ eventual victory.
nginx shipped a modified `fastcgi_params` , which declared `SCRIPT_FILENAME` fastcgi_param . This line has now been removed . From now on we are also shipping fastcgi . conf from the upstream repository , which includes a sane `SCRIPT_FILENAME` parameter value . So , if you are using fastcgi_params , you can try switching to fastcgi . conf or manually set the relevant params .
After the upgrade, I was getting blank responses from nginx for all php scripts. No errors in nginx or fpm logs. After re-reading the news that gets displayed during the lunch break.Finally!
In /etc/nginx/sites-available/* change
include fastcgi_params
to
include fastcgi.conf
Hope this helps anyone in need.