From d0e5d189d2c2600c283acde29cc0ac91fe679ded Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Wed, 18 Dec 2013 09:39:23 +0100 Subject: [PATCH] change memory_limit value, 128 MB is enough --- Readme.md | 2 +- core/lib/Thelia/Install/CheckPermission.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 4651523e2..abb8ccd30 100755 --- a/Readme.md +++ b/Readme.md @@ -22,7 +22,7 @@ Requirements * gd * curl * safe_mode off - * memory_limit at least 150M, preferably 256. + * memory_limit at least 128M, preferably 256. * post_max_size 20M * upload_max_filesize 2M * apache 2 diff --git a/core/lib/Thelia/Install/CheckPermission.php b/core/lib/Thelia/Install/CheckPermission.php index 6a9a5245e..efdaf6f04 100644 --- a/core/lib/Thelia/Install/CheckPermission.php +++ b/core/lib/Thelia/Install/CheckPermission.php @@ -58,7 +58,7 @@ class CheckPermission extends BaseInstall /** @var array Minimum server configuration necessary */ protected $minServerConfigurationNecessary = array( - 'memory_limit' => 157286400, + 'memory_limit' => 134217728, 'post_max_size' => 20971520, 'upload_max_filesize' => 2097152 );