Page 1 of 1

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

Posted: Fri Dec 02, 2016 10:58 am
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!

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

Posted: Tue Dec 06, 2016 9:40 am
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.

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

Posted: Tue Dec 06, 2016 9:50 am
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.

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

Posted: Fri Dec 09, 2016 3:31 am
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.

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

Posted: Fri Dec 09, 2016 5:10 am
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.


.