-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdrupal-7.25-memory-limit.patch
More file actions
26 lines (23 loc) · 1.02 KB
/
drupal-7.25-memory-limit.patch
File metadata and controls
26 lines (23 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index f6ffea5..3c99165 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -23,7 +23,7 @@ define('DRUPAL_MINIMUM_PHP', '5.2.4');
/**
* Minimum recommended value of PHP memory_limit.
*/
-define('DRUPAL_MINIMUM_PHP_MEMORY_LIMIT', '32M');
+define('DRUPAL_MINIMUM_PHP_MEMORY_LIMIT', '256M');
/**
* Error reporting level: display no errors.
diff --git a/modules/system/system.install b/modules/system/system.install
index 43c7383..3334347 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -224,7 +224,7 @@ function system_requirements($phase) {
}
$requirements['php_memory_limit']['description'] = $description . ' ' . $t('See the <a href="@url">Drupal requirements</a> for more information.', array('@url' => 'http://drupal.org/requirements'));
- $requirements['php_memory_limit']['severity'] = REQUIREMENT_WARNING;
+ $requirements['php_memory_limit']['severity'] = REQUIREMENT_ERROR;
}
}