Apache 2.4 在 Windows 8 - 64 位上运行很慢 [英] Apache 2.4 is running very Slow on Windows 8 - 64 bit

查看:39
本文介绍了Apache 2.4 在 Windows 8 - 64 位上运行很慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的电脑上安装了 apache 2.4.它经常运行得很慢.Internet Explorer 中的页面标题显示带有加载图标的等待本地主机"!已安装的软件:

I install apache 2.4 on my pc. it run very slow often. page title in Internet Explorer show "waiting for localhost" with loading icon! installed softwares:

windows 8 64bit > 
            Apache2.4 64bit
            php 5 64bit
            MySQL 5 64bit
            phpMyAdmin 4

问题不在于mySQL ...当它关闭时,问题仍然存在.我已经搜索并找到了解决方案,但它们没有帮助.喜欢:

problem is not for mySQL ... when its shutdown , problem is still there. I have searched and find solutions but they were not helpful.like:

  • 将 "127.0.0.1 localhost" >>> 添加到 C:WindowsSystem32Driversetchosts
  • 在 httpd.conf 上添加EnableMMAP on"和EnableSendfile on"
  • 在 php.in 上启用并设置 realpath_cache_size= 4m

有什么想法吗?

推荐答案

这个问题是否出现在 Internet Explorer 以外的其他浏览器上?

Is this problem occuring on other browsers than Internet Explorer?

如果不是,则可能与 Apache 的 为 Windows NT 优化的多处理模块有关.这被称为 Apache 非常无响应/挂起的可能原因之一.

If not it might be related to Apache's Multi-Processing Module optimized for Windows NT. This has been named as one of the possible causes for a very unresponsive / hanging Apache.

修复方法是将其添加到您的 httpd.conf 中:

The fix would be to add this to your httpd.conf:

AcceptFilter http none
AcceptFilter https none

有关此主题的更多信息,请参阅我的博文.

See my blog post on this topic for more information.

这篇关于Apache 2.4 在 Windows 8 - 64 位上运行很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆