Skip to content

Commit

Permalink
Merge remote-tracking branch 'tango-ce/MAGETWO-55757' into MAGETWO-57876
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbunneh committed Aug 31, 2016
2 parents d323ecb + be08f1a commit 4315b5a
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
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
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 4315b5a

Please sign in to comment.