Commit 28379ab2 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #861 Not enough memory for the PHP module

parent 87c9b501
......@@ -211,11 +211,11 @@ class Step_Checks extends setup_step
$M = TRUE;
$this->config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
/* Check if memory limit is set to 32 or > */
$N = "memory_limit &gt;= <b>32</b>";
$D = _("FusionDirectory needs at least 32MB of memory. Setting it below this limit may cause errors that are not reproducable! Increase it for larger setups.");
$S = _("Search for 'memory_limit' in your php.ini and set it to '32M' or higher.");
$R = ini_get('memory_limit') >= 32 ;
/* Check if memory limit is set to 64 or > */
$N = "memory_limit &gt;= <b>64</b>";
$D = _("FusionDirectory needs at least 64MB of memory. Setting it below this limit may cause errors that are not reproducable! Increase it for larger setups.");
$S = _("Search for 'memory_limit' in your php.ini and set it to '64M' or higher.");
$R = ini_get('memory_limit') >= 64;
$M = TRUE;
$this->config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment