5.3 - Allowed memory size

Permalink
Just did a clean install using the latest release and got an error message regarding Allowed memory size not big enough for the installation to run properly.

To resolve the problem, I have edited index.php in the concrete folder and modified the code as follow

<?php 
ini_set('memory_limit','256M');
require('concrete/dispatcher.php');


hope this helps.

 
mosaic replied on at Permalink Reply
...thanks!
beeman89045 replied on at Permalink Reply
editing core C5 files, can't you update your php.ini to increase the mem_limit there? I received this error as well on a MAMP install and the php.ini change and server restart resolved.
bcarone replied on at Permalink Reply
bcarone
Yea that is the best way in my opinion. I edited my php.ini file to 20mb for the mem requirement. Haven't had an issue since.

-bill
bcarone replied on at Permalink Reply
bcarone
dangit...sorry
beeman89045 replied on at Permalink Reply
...
simpled replied on at Permalink Reply
Editing the php.ini file is the best way, but only if you have access to the file itself.
If you're on a shared server, sometimes it's not possible.
beeman89045 replied on at Permalink Reply
you should definitely check with your host to see if you have access to your Conf directory (or a similar directory that allows localized PHP directives).

We run on Plesk where the directory does happen to be called Conf. Within that directory you can - on Plesk anyway - create vhost.conf which will allow domain-specific PHP directives (in this case, you would specify the Memory increase).

Otherwise, it is always a good idea to call your host and see if they can update your allocated PHP memory.
bodhirayo replied on at Permalink Reply
bodhirayo
excellent. solved my problem. many thanks!!!
in gratitude,
Bodhi