Skip to content
Snippets Groups Projects
Commit ddb1eea3 authored by Oleksandr Iegorov's avatar Oleksandr Iegorov
Browse files

MAGETWO-55757: Magento 2 does not work on Apache php-fpm environment

parent 3bcc1c99
No related merge requests found
......@@ -32,6 +32,7 @@
DirectoryIndex index.php
<IfModule mod_php5.c>
############################################
## adjust memory limit
......@@ -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
......
......@@ -32,6 +32,7 @@
DirectoryIndex index.php
<IfModule mod_php5.c>
############################################
## Adjust memory limit
......@@ -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>
###########################################
......
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