0

I have modified the php.ini file shown in the Loaded Configuration File value of phpinfo() to set the default_charset to UTF-8:

default_charset = "UTF-8"

enter image description here

However, when I re-run the phpinfo(), I see no change whatsoever. What else do I need to do to make sure this thing gets set?

MB34
  • 167
  • 2
  • 10

1 Answers1

1

You probably forgot to restart apache afterwards.

etagenklo
  • 5,834
  • 1
  • 27
  • 32
  • Why does PHP not load it's config when it "runs". It works on my localhost. – MB34 Jul 25 '13 at 16:10
  • If you use mod_php (the apache module), you have to restart (or at least reload) apache to get the new configuration running. You don't have to do this for php-cli, fcgi or php-fpm. – etagenklo Jul 26 '13 at 18:52