File tree Expand file tree Collapse file tree 5 files changed +90
-2
lines changed Expand file tree Collapse file tree 5 files changed +90
-2
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 36
36
php_value max_execution_time 18000
37
37
38
38
############################################
39
- ## disable magic quotes for php request vars
39
+ ## disable automatic session start
40
+ ## before autoload was initialized
41
+
42
+ php_flag session.auto_start off
43
+
44
+ ############################################
45
+ ## enable resulting html compression
46
+
47
+ #php_flag zlib.output_compression on
48
+
49
+ ###########################################
50
+ # disable user agent verification to not break multiple image upload
51
+
52
+ php_flag suhosin.session.cryptua off
40
53
41
- php_flag magic_quotes_gpc off
54
+ ###########################################
55
+ # turn off compatibility with PHP4 when dealing with objects
56
+
57
+ php_flag zend.ze1_compatibility_mode Off
58
+
59
+ </IfModule >
60
+
61
+ <IfModule mod_php7.c >
62
+
63
+ ############################################
64
+ ## adjust memory limit
65
+
66
+ # php_value memory_limit 64M
67
+ php_value memory_limit 256M
68
+ php_value max_execution_time 18000
42
69
43
70
############################################
44
71
## disable automatic session start
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