File tree 5 files changed +98
-0
lines changed
5 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 58
58
59
59
</IfModule >
60
60
61
+ <IfModule mod_php7.c >
62
+
63
+ ############################################
64
+ ## adjust memory limit
65
+
66
+ php_value memory_limit 768M
67
+ php_value max_execution_time 18000
68
+
69
+ ############################################
70
+ ## disable automatic session start
71
+ ## before autoload was initialized
72
+
73
+ php_flag session.auto_start off
74
+
75
+ ############################################
76
+ ## enable resulting html compression
77
+
78
+ #php_flag zlib.output_compression on
79
+
80
+ ###########################################
81
+ ## disable user agent verification to not break multiple image upload
82
+
83
+ php_flag suhosin.session.cryptua off
84
+
85
+ </IfModule >
86
+
61
87
<IfModule mod_security.c >
62
88
###########################################
63
89
## disable POST processing to not break multiple image upload
Original file line number Diff line number Diff line change 63
63
64
64
</IfModule >
65
65
66
+ <IfModule mod_php7.c >
67
+
68
+ ############################################
69
+ ## adjust memory limit
70
+
71
+ # php_value memory_limit 64M
72
+ php_value memory_limit 256M
73
+ php_value max_execution_time 18000
74
+
75
+ ############################################
76
+ ## disable magic quotes for php request vars
77
+
78
+ php_flag magic_quotes_gpc off
79
+
80
+ ############################################
81
+ ## disable automatic session start
82
+ ## before autoload was initialized
83
+
84
+ php_flag session.auto_start off
85
+
86
+ ############################################
87
+ ## enable resulting html compression
88
+
89
+ #php_flag zlib.output_compression on
90
+
91
+ ###########################################
92
+ # disable user agent verification to not break multiple image upload
93
+
94
+ php_flag suhosin.session.cryptua off
95
+
96
+ ###########################################
97
+ # turn off compatibility with PHP4 when dealing with objects
98
+
99
+ php_flag zend.ze1_compatibility_mode Off
100
+
101
+ </IfModule >
102
+
66
103
<IfModule mod_security.c >
67
104
###########################################
68
105
# disable POST processing to not break multiple image upload
Original file line number Diff line number Diff line change 57
57
58
58
</IfModule >
59
59
60
+ <IfModule mod_php7.c >
61
+
62
+ ############################################
63
+ ## adjust memory limit
64
+
65
+ php_value memory_limit 256M
66
+ php_value max_execution_time 18000
67
+
68
+ ############################################
69
+ ## disable automatic session start
70
+ ## before autoload was initialized
71
+
72
+ php_flag session.auto_start off
73
+
74
+ ############################################
75
+ ## enable resulting html compression
76
+
77
+ #php_flag zlib.output_compression on
78
+
79
+ ###########################################
80
+ # disable user agent verification to not break multiple image upload
81
+
82
+ php_flag suhosin.session.cryptua off
83
+
84
+ </IfModule >
85
+
60
86
<IfModule mod_security.c >
61
87
###########################################
62
88
# disable POST processing to not break multiple image upload
Original file line number Diff line number Diff line change 1
1
Options All -Indexes
2
+
2
3
<IfModule mod_php5.c >
3
4
php_flag engine 0
4
5
</IfModule >
5
6
7
+ <IfModule mod_php7.c >
8
+ php_flag engine 0
9
+ </IfModule >
10
+
6
11
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
7
12
Options -ExecCGI
8
13
Original file line number Diff line number Diff line change 2
2
php_flag engine 0
3
3
</IfModule >
4
4
5
+ <IfModule mod_php7.c >
6
+ php_flag engine 0
7
+ </IfModule >
8
+
5
9
# To avoid situation when web server automatically adds extension to path
6
10
Options -MultiViews
7
11
You can’t perform that action at this time.
0 commit comments