From ddb1eea3d3db5664578bb85c739373b292226ad6 Mon Sep 17 00:00:00 2001 From: Oleksandr Iegorov Date: Thu, 25 Aug 2016 14:54:41 +0300 Subject: [PATCH 1/3] MAGETWO-55757: Magento 2 does not work on Apache php-fpm environment --- .htaccess | 24 ++++++++++++++++++++++++ pub/.htaccess | 26 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/.htaccess b/.htaccess index f3dbe217081ac..af9470488c632 100644 --- a/.htaccess +++ b/.htaccess @@ -32,6 +32,7 @@ DirectoryIndex index.php + ############################################ ## adjust memory limit @@ -53,7 +54,30 @@ ## disable user agent verification to not break multiple image upload php_flag suhosin.session.cryptua off + + +############################################ +## adjust memory limit + + php_value memory_limit 768M + php_value max_execution_time 18000 + +############################################ +## disable automatic session start +## before autoload was initialized + + php_flag session.auto_start off + +############################################ +## enable resulting html compression + + #php_flag zlib.output_compression on +########################################### +## disable user agent verification to not break multiple image upload + + php_flag suhosin.session.cryptua off + ########################################### ## disable POST processing to not break multiple image upload diff --git a/pub/.htaccess b/pub/.htaccess index a8fc2ccf222db..ecdaf1758a92a 100644 --- a/pub/.htaccess +++ b/pub/.htaccess @@ -32,6 +32,7 @@ DirectoryIndex index.php + ############################################ ## Adjust memory limit @@ -53,6 +54,31 @@ # Disable user agent verification to not break multiple image upload php_flag suhosin.session.cryptua off + + +############################################ +## Adjust memory limit + + php_value memory_limit 768M + php_value max_execution_time 18000 + +############################################ +## Disable automatic session start +## before autoload was initialized + + php_flag session.auto_start off + +############################################ +## Enable resulting html compression + + #php_flag zlib.output_compression on + +########################################### +# Disable user agent verification to not break multiple image upload + + php_flag suhosin.session.cryptua off + + ########################################### From df47e15f3655ef3b1ecc250f3698017813ce9d21 Mon Sep 17 00:00:00 2001 From: Dmytro Poperechnyy Date: Mon, 29 Aug 2016 13:48:35 +0300 Subject: [PATCH 2/3] MAGETWO-56092: Pagination is absent on Order Status grid --- .../Sales/view/adminhtml/layout/sales_order_status_index.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Sales/view/adminhtml/layout/sales_order_status_index.xml b/app/code/Magento/Sales/view/adminhtml/layout/sales_order_status_index.xml index f3c7408bb6c2b..6929c7ad9963d 100644 --- a/app/code/Magento/Sales/view/adminhtml/layout/sales_order_status_index.xml +++ b/app/code/Magento/Sales/view/adminhtml/layout/sales_order_status_index.xml @@ -15,7 +15,7 @@ Magento\Sales\Model\ResourceModel\Status\Collection state desc - 0 + 1 From be08f1a08d368c07701591d0f5d8e0df27f97275 Mon Sep 17 00:00:00 2001 From: Oleksandr Iegorov Date: Tue, 30 Aug 2016 12:58:44 +0300 Subject: [PATCH 3/3] MAGETWO-55757: Magento 2 does not work on Apache php-fpm environment --- .user.ini | 4 ++++ pub/.user.ini | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 .user.ini create mode 100644 pub/.user.ini diff --git a/.user.ini b/.user.ini new file mode 100644 index 0000000000000..8c0b765e0551c --- /dev/null +++ b/.user.ini @@ -0,0 +1,4 @@ +memory_limit = 768M +max_execution_time = 18000 +session.auto_start = off +suhosin.session.cryptua = off \ No newline at end of file diff --git a/pub/.user.ini b/pub/.user.ini new file mode 100644 index 0000000000000..8c0b765e0551c --- /dev/null +++ b/pub/.user.ini @@ -0,0 +1,4 @@ +memory_limit = 768M +max_execution_time = 18000 +session.auto_start = off +suhosin.session.cryptua = off \ No newline at end of file