From 8493c83dcd01913fe81ac5876f0ba8d9bcb49de9 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 18 Jan 2014 19:23:40 +0000 Subject: [PATCH] increase memory limit --- lam/lib/checkEnvironment.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/checkEnvironment.inc b/lam/lib/checkEnvironment.inc index 1186ac93..1b4012af 100644 --- a/lam/lib/checkEnvironment.inc +++ b/lam/lib/checkEnvironment.inc @@ -101,8 +101,8 @@ if (ini_get("session.auto_start") == "1") { // check memory limit $memLimit = ini_get('memory_limit'); if (isset($memLimit) && ($memLimit != '') && (substr(strtoupper($memLimit), strlen($memLimit) - 1) == 'M')) { - if (intval(substr($memLimit, 0, strlen($memLimit) - 1)) < 64) { - $criticalErrors[] = array("ERROR", "Please increase the \"memory_limit\" parameter in your php.ini to at least \"64M\".", + if (intval(substr($memLimit, 0, strlen($memLimit) - 1)) < 128) { + $criticalErrors[] = array("ERROR", "Please increase the \"memory_limit\" parameter in your php.ini to at least \"128M\".", "Your current memory limit is $memLimit."); } }