For some reason I'm finding Drupal on localhost (xampp) on Vista much slower than on XP. On my old (and slower) XP machine, pages would typically load in around 700 or 800ms. On the faster Vista machine it is around 3600ms. This is out of the box, without extra modules running.
I turned off zonealarm, but that didn't make any difference. Is anyone else having this problem?


patrickharris’s picture

Even turned off, ZoneAlarm causes a 3 second delay on pages from apache/localhost. Solution - use a different firewall, or if you want to stick with ZoneAlarm, use the ZoneAlarm Pro beta which fixes this problem.

kursat’s picture

Difficult to find the real problem, but i remind following.
What is your xampp version? if latest, i mean xampp 1.6.5, they have a known bug with apache, sourced from apache. i recommend you to use XAMPP Lite 1.6.5. this will work faster w/o problem.

patrickharris’s picture

Hi Kursat - ZoneAlarm turned out to be the problem.

fumbling’s picture

Drupal on XAMPP on Vista is also extremely slow for me. I don't have Zone Alarm, and it's a fresh install. Any other thoughts?

I just tried loading the Modules list page and got:

Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\drupal\includes\ on line 891

nutkenz’s picture

Same here; Drupal 6 is extremely slow on the localhost XAMPP installation and I'm running Vista on a Dual Core system. Some queries take 20 seconds to execute... The exact same websites runs a lot faster on my remote server.

fumbling’s picture

Yeah, I eventually abandoned my XAMPP install, partly for that reason. If you find any way around the Vista-slowness issue please post about it and I'll do the same.

gagagaga’s picture

You should comment out this line in hosts file
#::1 localhost

That file is located in C:\Windows\System32\drivers\etc

benjamin_dk’s picture

I tried this to no avail. I am running Drupal 6.6 on a XAMPP 1.7.0 server, the PC is an HP Pavillion dv6700 with an 1.9 GHz AMD Athlon X2 64 processor, 2 GB RAM. Windows Vista Home Premium SP 1. The admin pages are responding very slow - sometimes one minute before I can get to the module page. It says "waiting for localhost". I looked around a lot on the net but have found no solution to this problem. Any other ideas?

fumbling’s picture

Thanks, the following, which I believe is what you're saying above, worked for me:

In C:\Windows\System32\drivers\etc\hosts


::1 localhost


#::1 localhost

mtwalsh’s picture

Thanks, that solved my problem too.

ycwjjjj’s picture

It is not working for me. :(

fumbling’s picture

At this point, you may want to just try Acquia's Drupal stack solution, which does it all for you, but keep in mind that you'll be using Acquia's drupal installation, which is slightly different and more robust than the normal drupal core.

Jordash’s picture

That worked for me as well, an reason why that would be causing such a slow down?

menace’s picture

Thanks dude. although it is not as fast as i would expect from a local host, given the fact that it is all local and any pc should be able to handle this stuff, zero ping etc. still it is drastically improved from before. of course there must be some reason for this delay and i've no doubt some greater tech savvy fellow will explain why, in any case, its much better for me now. cheers.
on with the building.

fstyle’s picture

Based on hosts-file comment i found out why it is so slow to render one page.

In my scenario I use EasyPHP on my laptop (W7) and I use my desktop and work pc (Vista) to look at my work in other resolution/browser/auto-refreshed etc..
EasyPHP also uses Apache+PHP+MySQL just like xampp. On my desktop I use my laptop's hostname to open pages in firefox. On vista it is slow like yours.

Enough of talking...

There are 2 workarounds to handle slowness:

- call the apache web server address not by hostname but ip address. On a local computer it is
(This is not a good solution for me because my ip is always changing thru my networks.)

::1 localhost line in hosts file is a mapping in TCP/IP v6 protocol, if you comment it, it won't solve your problem

- so the other solution is to disable TCP/IP v6 protocol of your network interface (so Vista won't try to resolve your hostname to an ipv6 address) (we aren't using ipv6 yet anyways) Control panel -> network central -> manage client adapters -> local connection (your NIC).properties -> untick TCP/IP v6 protocol -> Done

i found another solution. ipv6 does not need to be disabled:

open a command shell as an Administrator
type: netsh
type: interface
type: portproxy
type: add v6tov4 listenport=80 connectport=80

port is your web server port of course

wkelvinf’s picture

Has anyone found another solution to this problem?

I don't have zonealarm and I have commented out the DNS line in the host file but localhost is still very slow.

I need help please.

rmontero’s picture

I had the same problem. I temporarily disabled Norton Smart Firewall... but I can't really tell if that helped or not.

Best regards,

Rob Montero

muratsalma’s picture

dhalbert’s picture

I installed the Acquia Drupal Stack on a Windows 7 desktop and found that using http://localhost was quite slow. Interestingly the etc/hosts file was logically empty (everything commented out):

# localhost name resolution is handled within DNS itself.
# localhost
# ::1 localhost

A websearch turned up suggestions that essentially amounted to uncommenting out the " localhost" line.

Alternatively, when using the Acquia Drupal stack, just use instead of http://localhost, and that will also be fast.

carvalhar’s picture

worked for me, win 7 x64 with xampp

serving’s picture

Disable the "IP Helper", "Windows Search" and "Computer Browser" services. Windows Vista and Xampp

This helped a bit.


PrestaS’s picture

I have same problem .. ;/

Christopher James Francis Rodgers’s picture

"Down here in the dungeon as we are..."


Please note that this "topic" is
in the "Deprecated" sections of the forums at

The 'Deprecated' (no longer used) section of the forums
is intended as a library archive collection of old posts
and is not be seen by typical forum users.

The only notice it will get is via notifications
sent to the topic's 'followers' (if any).

That is possibly why you never got any replies.


Project's 'Issues' page.

If your issue is Module-specific or Theme-specific,
go to the relevant project's 'Issues' Page.

- The X project 'Home' page is at

- The X project 'Issues' page is at


Module -
Theme -

#In your case

For additional details on getting help on specific projects, see...

Get the Fastest Answers to Module-Specific or Theme-Specific Issues at - How to


Forums: (Active)

If your issue is more general,
please "Post new Forum topic"
in one of the active forums.

#In your case I recommend that you post in the forum


Tips for posting to the Drupal forums

Forums at

-- Post installation
-- Before you start
-- Installing Drupal
-- Upgrading Drupal
-- Converting to Drupal
-- Module Development and Code Questions
-- Theme development
-- Translations
-- News and announcements
-- General discussion
-- Drupal showcase
-- Events
-- Community Spotlight
-- Hosting support
-- Paid Drupal services
-- Drupal Newsletter
-- Security advisories for Drupal core
-- Security advisories for contributed projects
-- Security public service announcements
-- Maintainer news
-- ... {Non-Active archived posts only}

All the best; intended.
-Chris (
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *

akki123’s picture

Drupal is three time slower than Joomla on my XAMPP win7.
My database is MyISAM.
I tried localhost trick but no speed up.

Can any body point out why drupal is slower than joomla , it was supposed to fast!