mirror of
https://github.com/itflow-org/itflow
synced 2026-08-19 22:15:12 +00:00
Debug - bump php memory flag to 512M
This commit is contained in:
@@ -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,
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user