Upgrade PHP from 5.4.45 to 5.6.x: anything to look out for?

Support/Development for PHP
chrismcb
Forum Regular
Forum Regular
Posts: 293
Joined: Tue Nov 23, 2010 7:30 am
Location: Glasgow, UK

Upgrade PHP from 5.4.45 to 5.6.x: anything to look out for?

Unread post by chrismcb »

I've been using php 5.4.x for some time, but with 5.5 and 5.6 out and stable, I'm looking to upgrade a Plesk 12 box with around 100 vhosts on it to the latest ART 5.6 build.

From what I can see, it's nothing like the leap from 5.3 to 5.4 and 99% of things should go smoothly. WordPress (which most vhosts are using) are now recommending 5.6 as the minimum version too.

Has anyone else taken the leap on a live server with multiple vhosts all running different websites?

Anything to look out for? Any hints or tips would be appreciated before "pushing the button"!


Thanks in advance!
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Upgrade PHP from 5.4.45 to 5.6.x: anything to look out f

Unread post by prupert »

Never seen major issues with web applications when upgrading from 5.4 to 5.6. YMMV if you are hosting very old applications. Check your error logs.

Disclaimer: I've only used RH/CentOS SCL and Remi repositories for PHP 5.6.
Last edited by prupert on Fri Dec 09, 2016 3:31 am, edited 2 times in total.
Lemonbit Internet Dedicated Server Management
chrismcb
Forum Regular
Forum Regular
Posts: 293
Joined: Tue Nov 23, 2010 7:30 am
Location: Glasgow, UK

Re: Upgrade PHP from 5.4.45 to 5.6.x: anything to look out f

Unread post by chrismcb »

Thanks - everything hosted should be pretty open to 5.6; very few are bespoke bits of code, most running on current (or fairly current) versions of CMS' etc.

Will schedule it in for some time in the New Year and report back if there are any things to help others in the future.
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Upgrade PHP from 5.4.45 to 5.6.x: anything to look out f

Unread post by prupert »

For long term support you may want to use the CentOS 7 stock PHP 5.4.16 packages.

PHP 5.4 itself has been end-of-life for over a year now. You may be having installed an unsupported and vulnerable version of PHP on your server.
Lemonbit Internet Dedicated Server Management
chrismcb
Forum Regular
Forum Regular
Posts: 293
Joined: Tue Nov 23, 2010 7:30 am
Location: Glasgow, UK

Re: Upgrade PHP from 5.4.45 to 5.6.x: anything to look out f

Unread post by chrismcb »

Thanks, I'm using the Atomic repository's 5.4 at the moment; but will go to 5.6 in the New Year.


.
Post Reply