Status-x CMS - Проверка наличия локали cp 1251 в PHP

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Status-x CMS - Проверка наличия локали cp 1251 в PHP

Как включить локаль cp 1251 в PHP для CMS Status-x:

# gunzip /usr/share/i18n/charmaps/CP1251.gz
# localedef -c -f /usr/share/i18n/charmaps/CP1251 -i /usr/share/i18n/locales/ru_RU /usr/lib/locale/ru_RU.CP1251
# /etc/init.d/httpd restart