上传我的JavaScript,PHP和其他相关文件到虚拟主机服务器,并尝试在浏览器上运行它们后,我遇到了以下错误:
Resource interpreted as Script but transferredwith MIME type text/html: "http://stats.hosting24.com/count.php".
从带有phpinfo()的PHP文件中可以看到,在加载模块部分中显示了以下内容:在/etc/apache2/mods-enabled/mime.conf中,我有(除其他外):AddOutputFilter INCLUDES .shtml
在/etc/apache2/sites-enabled/domain