How to Change the PHP Memory Limit in Drupal

asked Jul 6, 2013 in Website Builder by DruNew (1,930 points)
Hi all
I know that Drupal requires a minimum of 16M PHP memory but I have many modules and I want to increase my Drupal PHP memories before it starts affecting my site’s erformance. I want to increase the PHP memory to 64, to allow my site to function normally even after adding  extra modules. The problem is that I don’t know how to edit the PHP memory in my drupal site. Can anyone please help

2 Answers

0 like 0 dislike
answered Jul 6, 2013 by RalphK (5,800 points)
Look for the file “php.ini”  in the root installation folder then open it and scroll down to the "Memory Resources" part.   Change the below line to your required limit
Then save the file and close it.
0 like 0 dislike
answered Jul 6, 2013 by randy999 (4,520 points)
You can also use the Drupal Tweaks module  and then change the the php memory limit from the configuration