mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
[TASK] Incorrect minimum memory_limit references have been updated from 768M to 756M
This commit is contained in:
1 parent
fef1485e9a
commit
4015d2f37c
7 files changed
+11
-11
No files matched your search
@@ -36,7 +36,7 @@
|
||||
############################################
|
||||
## adjust memory limit
|
||||
|
||||
php_value memory_limit 768M
|
||||
php_value memory_limit 756M
|
||||
php_value max_execution_time 18000
|
||||
|
||||
############################################
|
||||
@@ -59,7 +59,7 @@
|
||||
############################################
|
||||
## adjust memory limit
|
||||
|
||||
php_value memory_limit 768M
|
||||
php_value memory_limit 756M
|
||||
php_value max_execution_time 18000
|
||||
|
||||
############################################
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
############################################
|
||||
## adjust memory limit
|
||||
|
||||
php_value memory_limit 768M
|
||||
php_value memory_limit 756M
|
||||
php_value max_execution_time 18000
|
||||
|
||||
############################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
memory_limit = 768M
|
||||
memory_limit = 756M
|
||||
max_execution_time = 18000
|
||||
session.auto_start = off
|
||||
suhosin.session.cryptua = off
|
||||
@@ -136,8 +136,8 @@ class SampleDataDeployCommand extends Command
|
||||
if (function_exists('ini_set')) {
|
||||
@ini_set('display_errors', 1);
|
||||
$memoryLimit = trim(ini_get('memory_limit'));
|
||||
if ($memoryLimit != -1 && $this->getMemoryInBytes($memoryLimit) < 768 * 1024 * 1024) {
|
||||
@ini_set('memory_limit', '768M');
|
||||
if ($memoryLimit != -1 && $this->getMemoryInBytes($memoryLimit) < 756 * 1024 * 1024) {
|
||||
@ini_set('memory_limit', '756M');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -41,7 +41,7 @@ location ~* ^/setup($|/) {
|
||||
fastcgi_pass fastcgi_backend;
|
||||
|
||||
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
|
||||
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=600";
|
||||
fastcgi_param PHP_VALUE "memory_limit=756M \n max_execution_time=600";
|
||||
fastcgi_read_timeout 600s;
|
||||
fastcgi_connect_timeout 600s;
|
||||
|
||||
@@ -168,7 +168,7 @@ location ~ (index|get|static|report|404|503)\.php$ {
|
||||
fastcgi_buffers 1024 4k;
|
||||
|
||||
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
|
||||
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=18000";
|
||||
fastcgi_param PHP_VALUE "memory_limit=756M \n max_execution_time=18000";
|
||||
fastcgi_read_timeout 600s;
|
||||
fastcgi_connect_timeout 600s;
|
||||
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@
|
||||
############################################
|
||||
## Adjust memory limit
|
||||
|
||||
php_value memory_limit 768M
|
||||
php_value memory_limit 756M
|
||||
php_value max_execution_time 18000
|
||||
|
||||
############################################
|
||||
@@ -60,7 +60,7 @@
|
||||
############################################
|
||||
## Adjust memory limit
|
||||
|
||||
php_value memory_limit 768M
|
||||
php_value memory_limit 756M
|
||||
php_value max_execution_time 18000
|
||||
|
||||
############################################
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
memory_limit = 768M
|
||||
memory_limit = 756M
|
||||
max_execution_time = 18000
|
||||
session.auto_start = off
|
||||
suhosin.session.cryptua = off
|
||||
Reference in new issue
Block a user