DRUPAL_MINIMUM_PHP_MEMORY_LIMIT

Same name and namespace in other branches
  1. 7.x includes/bootstrap.inc \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT
  2. 8.9.x core/includes/bootstrap.inc \DRUPAL_MINIMUM_PHP_MEMORY_LIMIT

Minimum recommended value of PHP memory_limit.

64M was chosen as a minimum requirement in order to allow for additional contributed modules to be installed prior to hitting the limit. However, 40M is the target for the Standard installation profile.

Deprecated

in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::MINIMUM_PHP_MEMORY_LIMIT instead.

See also

https://www.drupal.org/node/2909361

File

core/includes/bootstrap.inc, line 79

Code

const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = \Drupal::MINIMUM_PHP_MEMORY_LIMIT;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.