简体   繁体   中英

Apache 2.4 is running very Slow on Windows 8 - 64 bit

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

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

  • add "127.0.0.1 localhost" >>> to C:\\Windows\\System32\\Drivers\\etc\\hosts
  • add "EnableMMAP on" and "EnableSendfile on" on httpd.conf
  • enable and set realpath_cache_size= 4m on php.in

any idea?

Is this problem occuring on other browsers than Internet Explorer?

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.

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.

I had the same problem, I had the 64bit version of WAMP installed. I exported by databases (mySql). Uninstalled WAMP, downloaded and installed the 32bit version. Imported my databases. The speed difference was VERY noticeable... You might want to give that a try.

It seems that there is an issue with localhost dns resolution on windows 8. Following the instructions in this article did it for me:

http://othermachines.com/blog/solving-performance-issues-windows-8-wampserver-drupal

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM