Skip to content

Commit

Permalink
Merge pull request #315 from magento-tango/MAGETWO-57876
Browse files Browse the repository at this point in the history
Fixed issues:
- MAGETWO-55757: Magento 2 does not work on Apache php-fpm environment
- MAGETWO-56092: Pagination is absent on Order Status grid
  • Loading branch information
dvoskoboinikov authored Sep 2, 2016
2 parents 8536677 + 26b0658 commit 70b8638
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

DirectoryIndex index.php

<IfModule mod_php5.c>
############################################
## adjust memory limit

Expand All @@ -53,7 +54,30 @@
## disable user agent verification to not break multiple image upload

php_flag suhosin.session.cryptua off
</IfModule>
<IfModule mod_php7.c>
############################################
## 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
</IfModule>
<IfModule mod_security.c>
###########################################
## disable POST processing to not break multiple image upload
Expand Down
4 changes: 4 additions & 0 deletions .user.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
memory_limit = 768M
max_execution_time = 18000
session.auto_start = off
suhosin.session.cryptua = off
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<argument name="dataSource" xsi:type="object">Magento\Sales\Model\ResourceModel\Status\Collection</argument>
<argument name="default_sort" xsi:type="string">state</argument>
<argument name="default_dir" xsi:type="string">desc</argument>
<argument name="pager_visibility" xsi:type="string">0</argument>
<argument name="pager_visibility" xsi:type="string">1</argument>
</arguments>
<block class="Magento\Backend\Block\Widget\Grid\ColumnSet" as="grid.columnSet" name="sales_order_status.grid.columnSet">
<arguments>
Expand Down
26 changes: 26 additions & 0 deletions pub/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

DirectoryIndex index.php

<IfModule mod_php5.c>
############################################
## Adjust memory limit

Expand All @@ -53,6 +54,31 @@
# Disable user agent verification to not break multiple image upload

php_flag suhosin.session.cryptua off
</IfModule>
<IfModule mod_php7.c>
############################################
## 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
</IfModule>


<IfModule mod_security.c>
###########################################
Expand Down
4 changes: 4 additions & 0 deletions pub/.user.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
memory_limit = 768M
max_execution_time = 18000
session.auto_start = off
suhosin.session.cryptua = off

0 comments on commit 70b8638

Please sign in to comment.