A major source of install and runtime issues with Open Outreach (as with most or all most-used Drupal 7 distros) is too-low values PHP values of either available memory (memory_limit) or page execution time (max_execution_time).

While we highlight appropriate values in documentation, many site installers will install without reading the documentation.

Proposed resolution

Implement hook_requirements() to set a warning if there is insufficient memory available or insufficient page execution time.

Follow relevant code in D8: drupal_check_memory_limit(), simpletest_requirements().

#1 memory-requirements-1891554-1.patch2.99 KBnedjo
Members fund testing for the Drupal project. Drupal Association Learn more


nedjo’s picture

Status: Active » Needs review
2.99 KB

Here's a patch that provides a requirements check for memory_limit. I haven't included max_execution_time because it's harder to say what the minimum is (obviously it's dependent on memory_limit) and it may differ at runtime vs. install time.

nedjo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nedjo’s picture

Downgraded from warning to info, since Open Outreach will function at less than the recommended memory limit.