Apache 2.4.x更新到Ubuntu 15.04之后



通过在

中添加'#'禁用 AddDefaultCharset utf-8
 conf-enabled/charset.conf

什么都没有改变...

更新:

      grep -i 'UTF-8' /etc/apache2/* -R

我们的问题是在文件mods-enabled/autoindex.conf中在行= 8

和...

  service apache2 restart

但是Apache2仍然覆盖charset

更新2

phpinfo()提供有趣的提示 default_charset = UTF-8

解决方案

php.ini

设置 default_charset = ""

这有效。

相关内容

最新更新