SheevaPlugのPHP.INIの修正

日本語が化けるので、PHP.INIを修正。
インストールのあと、すぐやらないと忘れちゃう・・・。
もちろん、「->」の左を右へ書き換えです。

magic_quotes_gpc = On -> magic_quotes_gpc = Off
;date.timezone = -> date.timezone = “Asia/Tokyo”
;default_charset = “iso-8859-1″-> default_charset = “UTF-8″
;mbstring.language = Japanese -> mbstring.language = Japanese
;mbstring.internal_encoding = EUC-JP -> mbstring.internal_encoding = UTF-8
;mbstring.http_input = auto -> mbstring.http_input = auto
;mbstring.detect_order = auto -> mbstring.detect_order = SJIS,EUC-JP,JIS,UTF-8,ASCII

とします。あとは保存してApacheを再起動。

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>