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:

Individually

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 Drupal.org forums, or join #drupal-support in IRC.

Comments

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 ( http://www.learnbythedrop.com ) 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: http://acquia.com/downloads

Christopher James Francis Rodgers’s picture

Deprecated


All the best; intended.
-Chris (great-grandpa.com)
___
"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.