Thursday, September 10, 2009

Install Drupal 6 on Windows XP

1. Install xampp (e.q. at c:\xampp)
Can be downloaded from
Reboot Windows.
2. At XAMPP Control Panel
Start Apache and MySql, then click Admin button beside Apache.
Your browser will automatically open http://localhost/. If not, you can open it manually in your browser.
Choose your prefered language.

3. Download Drupal 6.x (from
Extract the file to C:\xampp\htdocs
Rename the folder with your sitename (e.q. drupalsite).
4. Go to C:\xampp\htdocs\drupalsite\sites\default
Copy default.settings.php file and paste it in the same folder, then rename to settings.php
5. Create Database
Open your browser and go to http://localhost/phpmyadmin/, then create database and remind that database name (e.q. drupal).

6. Drupal Installation
Open your browser and go to http://localhost/drupal to install drupal:

a. Choose language
choose: Install Drupal in englishb. Verify requirements
If you haven’t done step 4, there will be error message. Do step 4 and click try again.

c. Set up database
Database type : mysqli
Database name : drupal
Database username : root
Database password : (leave it empty)

d. Install site
Installation is in progress.

e. Configure site
Complete these information:
Site name : DrupalSite
Site email address :
Administrator account
username : admin
email address :
password : admin
confirm password : admin
Klik Save and continue

f. Finished
There is a warning mesage:
warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your“SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:\xampp\htdocs\drupal\include\ on line 193.
Unable to send e-mail. Please contact the site administrator if the problem persists.

This error happen because drupal is installed on local machine (http://localhost/) that doesn’t have mailserver.
Click link: your new site to go to your Drupal home page.