0

I have upgraded my php version to 5.3 to 5.6 in codeigniter. I am getting error memory exhausted. Before upgrading, site was working fine.

Sudhanshu sharma
  • 1,917
  • 3
  • 20
  • 29

2 Answers2

0

Try to increase the memory_limit in you PHP.ini

Solid-Snake
  • 147
  • 1
  • 2
  • 13
0

What's your current memory limit?

You could try increasing your memory limit:

editing your php.ini file
memory_limit = 512M

OR

including this line on the top of your script
ini_set("memory_limit","512M");

You could also check if this lines are on your .htaccess:

php_value memory_limit

And check: https://stackoverflow.com/a/22283701/6058255

If this doesn't solve your problem, you should find the specific location of the error.

Community
  • 1
  • 1
JP. Aulet
  • 4,375
  • 4
  • 26
  • 39