ここでは私がよくやるphp.iniとmy.iniの設定についてまとめています。
php.ini
error_reporting = E_ALL & ~E_STRICT memory_limit =1000M post_max_size =1000M upload_max_filesize =1000M mbstring.internal_encoding = UTF-8 mbstring.http_output = UTF-8 mbstring.encoding_translation = On zend_extension = "D:\xampp\php\ext\php_xdebug.dll" xdebug.remote_enable = 1 date.timezone = Asia/Tokyo
my.ini
[mysqld] character-set-server = utf8 collation-server = utf8_general_ci init-connect = SET NAMES utf8 #default-character-set = utf8 [mysqldump] default-character-set = utf8 [mysql] default-character-set = utf8
文字コードはUTF-8でデバッグにはXdebugを使用しています。