Skip to content

Commit 0e388db

Browse files
Загрузил(а) файлы в ''
1 parent b97c1ef commit 0e388db

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.htaccess

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Need mod_env mod_rewrite mod_php458
2+
#https://stackoverflow.com/a/49031283/29314471
3+
<IfModule mod_php4.c>
4+
SetEnv PHP_IS_ENABLED yes
5+
</IfModule>
6+
<IfModule mod_php5.c>
7+
SetEnv PHP_IS_ENABLED yes
8+
</IfModule>
9+
<IfModule mod_php7.c>
10+
SetEnv PHP_IS_ENABLED yes
11+
</IfModule>
12+
<IfModule mod_php8.c>
13+
SetEnv PHP_IS_ENABLED yes
14+
</IfModule>
15+
<If "reqenv('PHP_IS_ENABLED')=='yes'||reqenv('REDIRECT_PHP_IS_ENABLED')=='yes'">
116
php_flag display_errors 0
217
php_flag implicit_flush 1
318

@@ -19,3 +34,4 @@ php_value mbstring.internal_encoding UTF-8
1934
php_value mbstring.func_overload 0
2035

2136
php_value date.timezone "Europe/Moscow"
37+
</If>

0 commit comments

Comments
 (0)