Skip to content
Snippets Groups Projects
Commit ec61612b authored by Ievgen Shakhsuvarov's avatar Ievgen Shakhsuvarov Committed by GitHub
Browse files

MAGETWO-82747: [TASK] Updated user.ini according to Magento DevDocs #11734

parents d4e4e5d2 1cc5ada8
No related merge requests found
......@@ -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
############################################
......
......@@ -35,7 +35,7 @@
############################################
## adjust memory limit
php_value memory_limit 768M
php_value memory_limit 756M
php_value max_execution_time 18000
############################################
......
memory_limit = 768M
memory_limit = 756M
max_execution_time = 18000
session.auto_start = off
suhosin.session.cryptua = off
\ No newline at end of file
......@@ -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');
}
}
}
......
......@@ -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|health_check)\.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;
......
......@@ -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
############################################
......
memory_limit = 768M
memory_limit = 756M
max_execution_time = 18000
session.auto_start = off
suhosin.session.cryptua = off
\ No newline at end of file
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