Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You probably forgot to restart apache afterwards.

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.