Last updated May 16, 2016. Created on April 11, 2001.
Edited by hansfn, LeeHunter, Christopher James Francis Rodgers, kiamlaluno. Log in to edit this page.

Installing Drupal on Windows for local usage

In this section you will learn how to set up a local test site on your Windows box. You will need to do two things on your computer:

  1. Install the software that Drupal needs in order to run.
  2. Install Drupal itself.

You can do both of these at the same with an installer that includes Drupal, or you can install each piece of software individually.

Installers that include Drupal.

These installers, in one package, include Drupal and all of the other software you need to run Drupal on your computer:


First you'll install the software Drupal needs. Several packages exist which install Apache, PHP, MySQL and some other useful components in one easy download. These include the following:

A comparison of many packages can be found at Wikipedia.

Then you can follow the instructions in the standard installation guide.

Don't know which to choose?

If you are bewildered by all these options, just want some nice easy instructions to follow, go and have a look at Simple install of Drupal on XAMPP. Trying out Drupal on your Windows machine couldn't be easier.

Looking for support? Visit the forums, or join #drupal-support in IRC.


Taiger’s picture

There is an error if you try to install drupal on php 5.3.0 on Wampserver2.
Install php5.2.9 to finish the Drupal installation.
Then switch it back in php 5.3.0 afterwards.

Also make sure to enable mod_rewrite on apache.

Learn by the Drop ( ) does a good job of explaining installing WAMP and covers how to do the two things above.

Next time I am going to try the Acquia Drupal stack installer for Windows (DAMP).
Get it here:

Christopher James Francis Rodgers’s picture

Updated - 2011.08.13

Deprecated - Void - Outdated - No Longer Recommended By Me

See instead, Drupal 7 Video with outline - Install and Setup DAMP on your PC or MAC.

I am leaving the following instructions below for your possible reference,
but in fact I now recommend using
DAMP (Drupal, Apache, MySql, and Php) from [FREE!] as directed at the top of this page.



Achived Information Follows

Tested 2010.08.31
with Windows XP,
WampServer 2.0i
(includes Apache, PHP, and MySQL),
and Drupal_7.x-dev (2010-Aug-31).


Taiger: Thank you very much
for the video website recommendation.

The specific video is..

"Installing Drupal On A Localhost."


As Far As I Can Tell,..
'Drupal 7 .dev' is running fine
on my computer hard drive.

I simply followed along
with the above video,
I would like to add
the following additional notes.


Video: 00 Min. 55 Sec.

Download Drupal 7.

.. as opposed to D5 or D6
per the video.


Skype Off. (if applicable to you.)

Before installing WampServer,
turn OFF 'Skype' if it is running.

This is not mentioned in the video;
but it was a conflict I encountered
since I have Skype installed and running
always. -rarecloud


Video: 01 Min. 40 Sec.

Download WampServer.


Download: Go to..

WampServer 2.0i
.. to begin download of file


Install WampServer.

Double-Click "WampServer2.0i.exe"
to install WampServer.


Video: 02 Min. 43 Sec.

Start WampServer.

Put WampServer "Online".


Video: 04 Min. 05 Sec.

Create A Database.


Video: 05 Min. 11 Sec.

Drop Drupal into "C:\wamp\www" folder.

Extract The Downloaded Drupal File:
Additional clarification.

Extract drupal-7.x-dev.tar.gz so that,
for example, the folder 'includes' is at..



Video: 06 Min. 38 Sec.

Enable The Apache rewrite_module.

Problem: Check-Mark Did Not Initially Display
In Front Of 'rewrite_module'.

'System tray icon': "WampServer" >> "Apache" >>
"Apache Modules" >> "rewrite_module".

After clicking the "rewrite_module"
as directed in the video,..

..I navigated to "rewrite_module" again,
but no check-mark had appeared in front of it
to indicate that it had been enabled.

I got the check-mark to appear in front of
"rewrite_module" by..

'System tray icon': "WampServer" >>
"Restart All Services".


Restart Skype. (if applicable to you.)


Video: 07 Min. 26 Sec.

Install Drupal 7.

Browser Address Bar: ..

Problem: No Worries.
Historically, every-time I first visit my website online,
these words appear alone at the top of the
browser window. ..

"[an error occurred while processing this directive]"

I just refresh the browser page (F5)
and the proper page loads.


Either "Standard" or "Minimal".

I am trying 'minimal' today.


Install Drupal in English.


Video: 07 Min. 50 Sec.

Copy "default.settings.php" to "settings.php":
Additional Clarification.

When you see..

"Settings file. The settings file does not exist."

.. copy ..

.. to/ as..

.. and then 'Refresh' (F5) the browser page.


Video: 08 Min. 40 Sec.

Enter DataBase Name.

UserName: (lowercase)..

(Leave the password field-box blank.)


See: "Congratulations, you installed Drupal!".

Click "Visit your new site".


Click "Administer".

Video - End.


In the future when you
restart your computer,
turn off Skype if it is on,
then start WampServer,
and then turn Skype back on.



If you put your site into "Maintainance Mode"
and if you then log-out,
in order to regain access to your site
and log-in again you must go to..

.. Browser Address Bar:..

Note: Use the word "user" above.


A Single Error After All Core Modules
Were Enabled.

re: D7-dev 2010.08.31

After I set all of the 'Core' 'Modules'
to 'Enabled', this ERROR displayed. ..

The testing framework could not
be installed because the PHP cURL library
is not available.
(Currently using cURL Not found)

(Module: Testing.
Testing - 7.x-dev - Provides a framework
for unit and functional testing.)

This error did not appear
when I installed D7-dev 2010.08.31
on my website at
and 'enabled' all of the core modules.


I did not go any further than
enabling all the modules since
this is a pre-public release of Drupal 7,
but it seems to be running fine locally
and online.

### keywords add: wamp server 2.

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

ndwbratl’s picture

Hi folks, I'm just basing this on my own experience, but I think more emphasis should be placed on how simple and speedy it is to get your first "localhost" installation of Drupal installed and up and running using XAMPP. Download, place in the right folder (c:\xampp), launch a batch file to start Apache and another to start MySQL, (you can address issues of making them services - or not - at a later point in time), then download Drupal into the right folder c:\xampp\htdocs\drupal, run the installer and you are good to go. (PS works just find on either XP or Vista.) After wading through pages and pages of install steps, I finally came across this one little paragraph - titled "Don't Know Which One to Choose" - which I didn't! - and decided to go with it and was up and running in a total of about 6 minutes. This really should be at the very top of the first page of the installation section. Psychologically, I think a painless initial install will go a long way to boost a technically adept but Drupal-newcomer's perception of how easy it is to get up and running. Just my $0.02 worth.