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.

Hosting Requirements

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

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

Silverstripe 3.1.x not running under PHP 5.5.x


Reply

2 Posts   682 Views

Avatar
cwsoft

9 November 2013 at 11:25pm (Last edited: 9 November 2013 11:26pm), Community Member, 57 Posts

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

23 January 2014 at 4:45am Community Member, 6 Posts

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.