Changing the PHP memory limit in settings.php is not reflected in phpinfo()
Of the various methods to increase the PHP memory limit, the only one I can use for a certain site is ini_set('memory_limit', 'XXXM');
in settings.php.
This value does not appear to change the memory_limit shown in phpinfo(). However, I know it is actually being modified because the site breaks without it.
Is there another way to view the current memory limit OR the actual memory limit ceiling?
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.