Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Общие вопросы
  • Search

Проблемы с кодировкой после обнолвние PHP до 5.6

Общие вопросы о панели управления Vesta
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
aclase
Posts: 21
Joined: Mon Oct 27, 2014 11:42 pm

Проблемы с кодировкой после обнолвние PHP до 5.6
  • Quote

Post by aclase » Mon Oct 12, 2015 12:52 am

Centos 6.7

После обновления сайты с параметром:
/home/%user$/conf/httpd.conf
AddDefaultCharset Windows-1251

Стали открываться со знаком � , пытался менять в /etc/httpd/conf/httpd.conf:
значение AddDefaultCharset UTF-8 на AddDefaultCharset Windows-1251

Не помогалою.

Что с этим можно сделать?

Заранее спасибо!
Top

aclase
Posts: 21
Joined: Mon Oct 27, 2014 11:42 pm

Re: Проблемы с кодировкой после обнолвние PHP до 5.6
  • Quote

Post by aclase » Mon Oct 12, 2015 1:32 am

Решение


Добавить в:
/etc/php.ini: default_charset = "windows-1251
Или в конфиг юзера:
/home/%user%/conf/httpd.conf > php_value default_charset "windows-1251"
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Общие вопросы”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password