Installation Fatal Errors

Permalink
While trying to install version5.5.2.1 I am getting the following error.

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 23040 bytes)...... blocks/survey/controller.php on line 222

Any advice would be very welcome.

 
jero replied on at Permalink Best Answer Reply
jero
16MB isn't a lot of memory. I'd try increasing the allowed size to something more realistic, say 128MB. There are numerous ways that you can do this, which may or may not work depending on your server configuration.

One way is to add

memory_limit = 128M

to a php.ini file in the root of your C5 install

Another is to add

ini_set('memory_limit','128M');


Into your index.php.

Failing that, I'd ask your hosting company to allocate a decent amount of memory.
scano001 replied on at Permalink Reply
Jero, thanks for your response. We did what you suggested and this fixed the problem. Installed ok.