②phpのファイル「php.ini」を設定する。
 a.XAMPPをインストールしたドライブのフォルダ「\xampp\php\」を開いてファイル「php.ini」をエディタで開いて「赤字」の部分を修正します。
[mbstring]
; language for internal character representation.
; http://php.net/mbstring.language
mbstring.language = neutral ← この行をコメント「;」を削除し、「= neutral」にする。

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
; http://php.net/mbstring.internal-encoding
;mbstring.internal_encoding = EUC-JP

; http input encoding.
; http://php.net/mbstring.http-input
mbstring.http_input = pass ← この行をコメント「;」を削除し、「= pass」にする。

; http output encoding. mb_output_handler must be
; registered as output buffer to function
; http://php.net/mbstring.http-output
mbstring.http_output = pass ← この行をコメント「;」を削除し、「= pass」にする。

; enable automatic encoding translation according to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
; http://php.net/mbstring.encoding-translation
mbstring.encoding_translation = Off ← この行をコメント「;」を削除する。

; automatic encoding detection order.
; auto means
; http://php.net/mbstring.detect-order
;mbstring.detect_order = auto

; substitute_character used when character cannot be converted
; one from another
; http://php.net/mbstring.substitute-character
;mbstring.substitute_character = none;

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
; http://php.net/mbstring.func-overload
;mbstring.func_overload = 0

; enable strict encoding detection.
;mbstring.strict_detection = Off
; This directive specifies the regex pattern of content types for which mb_output_handler()
; is activated.
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=
; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
; Default: ""
;mbstring.script_encoding=
 b.上設定で「赤字」の部分を修正して「上書き保存」します。

 c.XAMPPのコントロールパネルでApacheを再起動します。
   再起動できずにエラーが出た場合は、「赤字」の部分を確認して、修正して「上書き保存」でApacheを再起動します。