Debug - bump php memory flag to 512M

This commit is contained in:
wrongecho
2026-08-13 09:45:01 +01:00
parent eda32f7d57
commit 691059aab2

View File

@@ -114,12 +114,12 @@ $phpConfig[] = [
'value' => $post_max_size, 'value' => $post_max_size,
]; ];
// PHP Memory Limit >= 128M // PHP Memory Limit >= 512M
$memoryLimit = ini_get('memory_limit'); $memoryLimit = ini_get('memory_limit');
$memoryLimitBytes = toBytes($memoryLimit); $memoryLimitBytes = toBytes($memoryLimit);
$memoryLimitPassed = $memoryLimitBytes >= (128 * 1024 * 1024); $memoryLimitPassed = $memoryLimitBytes >= (512 * 1024 * 1024);
$phpConfig[] = [ $phpConfig[] = [
'name' => 'PHP Memory Limit >= 128M', 'name' => 'PHP Memory Limit >= 512M',
'passed' => $memoryLimitPassed, 'passed' => $memoryLimitPassed,
'value' => $memoryLimit, 'value' => $memoryLimit,
]; ];