Skip to content

Commit 63a7200

Browse files
authored
Added PHP8 configurations to .htaccess (#3254)
1 parent d6927f9 commit 63a7200

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.htaccess

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,34 @@
4040

4141
</IfModule>
4242

43+
############################################
44+
## php8 settings
45+
46+
<IfModule mod_php.c>
47+
48+
############################################
49+
## adjust max execution time
50+
51+
php_value max_execution_time 18000
52+
53+
############################################
54+
## disable automatic session start
55+
## before autoload was initialized
56+
57+
php_flag session.auto_start off
58+
59+
############################################
60+
## enable resulting html compression
61+
62+
#php_flag zlib.output_compression on
63+
64+
###########################################
65+
# disable user agent verification to not break multiple image upload
66+
67+
php_flag suhosin.session.cryptua off
68+
69+
</IfModule>
70+
4371
<IfModule mod_security.c>
4472
###########################################
4573
# disable POST processing to not break multiple image upload

0 commit comments

Comments
 (0)