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.

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

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

Silverstripe 3.1.x not running under PHP 5.5.x


Go to End


3 Posts   4594 Views

Avatar
cwsoft

Community Member, 57 Posts

9 November 2013 at 11:25pm

Edited: 09/11/2013 11:26pm

Hello,

just tested a clean SilverStripe 3.1.1 installation on PHP 5.4 and PHP 5.5 as my hosting company wants to updated to PHP 5.5.3 soon. The outcome is SilverStripe 3.1.1 doesn't run on PHP 5.5.x due to a fatal memory size error.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65488 bytes) in framework\core\Config.php on line 576

Fazit: When using SilverStripe 3.1.x series, stick with PHP 5.4 or lower and DON'T YET upgrade to PHP 5.5.

Cheers cwsoft

Avatar
Tobi Oetiker

Community Member, 6 Posts

23 January 2014 at 4:45am

just remove the content of your silverstripe-cache directory when you switch the php release ...

it may make sense to add a php version subdirectory into this path to prevent pain and suffering for the users.

Avatar
vwd

Community Member, 166 Posts

22 October 2014 at 1:45pm

@Tobe Otetiker - thanks for the suggestion to remove the contents of silverstripe-cache. My host upgraded to PHP 5.5 and I found that your suggestion got the sites working again.