未来のオレへ。
phpのverupをしたときについphp.iniを上書きしちゃったら・・・

;On→Off
register_globals = Off
;On→Off
magic_quotes_gpc = Off
;phpのextフォルダ指定
extension_dir = “C:\php\ext\”

;コメントアウト解除
extension=php_mysql.dll
extension=php_mbstring.dll

[mbstring]
;+1line
output_handler = mb_output_handler
;コメントアウト解除&書き換え
mbstring.internal_encoding = uft-8
;コメントアウト解除
mbstring.http_input = auto
;コメントアウト解除&書き換え
mbstring.http_output = utf-8
;コメントアウト
;mbstring.encoding_translation = Off
;コメントアウト解除
mbstring.detect_order = auto
;コメントアウト解除
mbstring.substitute_character = none;

upload_max_filesize = ***M
memory_limit = ***M
post_max_size = ***M

この設定で文字化けしてしまう場合は、
.htaccess を↓とか追加していじってみる。
php_value mbstring.internal_encoding “EUC-JP”
php_value mbstring.http_output “Shift_JIS”

Tagged with:
 

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>