XAMPP
Apache,MySQL,PHP,Perlを一瞬で導入できる。
PHP環境
XAMPP 1.7.0
・Apache 2.2.11
・MySQL 5.1.30
・PHP 5.2.8
・phpMyAdmin 3.1.1
・FileZilla FTP Server 0.9.29
・Mercury Mail Transport System v4.52
・OpenSSL 0.9.8i
MySQLの文字コード設定
C:\xampp\mysql\bin\my.cnf
[mysqld]
default-character-set = utf8
skip-character-set-client-handshake
character-set-server = utf8
collation-server = utf8_general_ci
init-connect = SET NAMES utf8
[mysqldump]
default-character-set = utf8
[mysql]
default-character-set = utf8
PHPの文字コード設定
C:\xampp\apache\bin\php.ini
[mbstring]
; language for internal character representation.
mbstring.language = Japanese
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
mbstring.internal_encoding = UTF-8
; http input encoding.
mbstring.http_input = auto
; http output encoding. mb_output_handler must be
; registered as output buffer to function
mbstring.http_output = UTF-8