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
hope this helps.
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.
...thanks!
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.
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
-bill
dangit...sorry
...
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.
If you're on a shared server, sometimes it's not possible.
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.
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.
excellent. solved my problem. many thanks!!!
in gratitude,
Bodhi
in gratitude,
Bodhi