Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

2.4.7 PHP compatibility


Go to End


3 Posts   2122 Views

Avatar
redactuk

Community Member, 117 Posts

7 August 2014 at 10:47am

Hi folks

I have a very old site still on v2.4.7. I will hopefully be upgrading it in next month or so, but before then, does anyone know of any compatibility issues if PHP version is upgrade from 5.3.X to 5.4.X or even 5.5.X? i.e. can anyone think of anything that may fall over in SS v2 with these newer PHP versions?

Thanks

Avatar
Kirk

Community Member, 67 Posts

7 August 2014 at 11:21am

Edited: 07/08/2014 11:24am

Don't know of any particular functions (maybe ereg and split) but my advice would be to check the PHP change log

http://php.net/ChangeLog-5.php

I would also check the deprecated functions as they may be used in the old version of your site or SilverStripe.
See the link below for the deprecated functions between PHP 5.2.*/5.3.* and PHP 5.3.*/5.4.*

http://php.net/manual/en/migration53.deprecated.php
http://php.net/manual/en/migration54.deprecated.php

It would be good to grep for the deprecated features in your current source code.

Avatar
redactuk

Community Member, 117 Posts

7 August 2014 at 10:27pm

Thanks Kirk.

Server is currently using 5.3 so I'll do some checks for the 5.4 depreciated stuff.