Last active
November 25, 2017 21:38
-
-
Save dermanov-ru/81e293ac4ffc7d36173d56d6503ed6e8 to your computer and use it in GitHub Desktop.
Переопределить настройки апача для одного домена
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# создать файл mbstring.inc.txt в папке /etc/apache2/vhosts/USER | |
<Directory /var/www/USER/data/www/SITE.RU> | |
php_admin_value mbstring.func_overload 2 | |
php_admin_value mbstring.internal_encoding utf-8 | |
# или | |
#php_admin_value mbstring.func_overload 0 | |
#php_admin_value mbstring.internal_encoding cp1251 | |
</Directory> | |
# тут можно задать другое правило для другого сайта данного пользователя |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# создать файл session.inc.txt в папке /etc/apache2/vhosts/USER | |
<Directory /var/www/USER/data/www/SITE.RU> | |
php_admin_value session.save_handler memcache | |
php_admin_value session.save_path "tcp://localhost:11211" | |
</Directory> | |
# тут можно задать другое правило для другого сайта данного пользователя |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment