Upgrade Php 5.4 to 5.6 = 502 error, then blank

After upgrading I'm seeing 502 error when browsing sites.

Setup is debian jesse, php 5.6, fpm, nginx, maraud 10.1

I thought the issue might be the location of /var/run/php5-fpm/mysocket so I made them all /var/run/mysocket, now no 502 error but just blank pages.

Checked individual site error logs, nginx log, php5-fpm log and nothing. Fpm is running.

Basically I was following this to upgrade wheezy to jesse and it upgraded my php too.

https://www.linode.com/docs/security/up … n-8-jessie">https://www.linode.com/docs/security/upgrading/upgrade-to-debian-8-jessie

I have a backup, but would like to see if it can be corrected.

Not sure where else to look to see what error is happening.

2 Replies

I had to restore the server. So now my question…

I'm on Debian Wheezy. Should I upgrade this to Debian Jesse?

Can/should I stay with wheezy and just upgrade php from 5.4 to 7? Do I need to be on Jesse to use php 7?

Can't really find a guide on upgrading from 5.4 to 7 on debian with fpm.

Regardless of distro, I always deploy a new version and migrate over the applications and data. Trying an in-place upgrade can have unusual and unpredictable failure modes, particularly when configuration options change.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct