LoginSignup
1

More than 5 years have passed since last update.

posted at

updated at

phpビルトインサーバーでphp.iniの設定で日本語文字化けを解決

次のようなphp.iniを用意する

php.ini
; php.ini
default_charset = UTF-8
mbstring.internal_encoding = UTF-8

php.iniを読み込んでビルトインサーバーを起動

php -S localhost:8888 -c php.ini

以上

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
1