Using the following steps, I successfully installed Drupal 6.16 on computers running Windows 7, 32-bit, with Explorer 8 and Norton 360 security. Drupal isn’t easy to install on a Windows computer, because the prerequisite database and webserver component are not normally installed on desktop computers.
Note: These instructions are intended for trying out Drupal on your home computer. DO NOT use these instructions to install Drupal for a website on the internet. Always make sure you have the latest Windows updates installed on your computer, and have an anti-virus program installed, updated and running.
PART I – Getting and Installing XAMPP
1. Remove any previous versions of XAMPP on your computer only if you tried installing it before. Go to “All Programs” > “XAMPP” > “Uninstall”.
2. Execute the following steps
A.) Go to www.apachefriends.org.
B.) Click on XAMPP (on the icons in the navigation bar on the top of the website).
C.) Click on XAMPP for Windows.
D.) You’ll see a list titled “Jump off Point”.
E.) Click on “XAMPP Lite”.
F.) Click on the red EXE link (this means self extracting file).
G.) An ad will pop up on the next page; ignore it.
H.) Look above the ad, and under the Source Forge logo, you will see: “Your XAMPP download will start shortly…Problems with the download? Please use this direct link or try another mirror.”
I.) Click on “Use this direct link.”
J.) A “Getting Information” “Open” “Open Folder” “Cancel” box will pop up.
K.) A “Do you want to run or save this file?” box will pop up on top of the “Getting Information” box (I think this is a Norton thing. Without Norton, you just might get the “Getting information” box.
L.) Select “Run” or “Open” – whichever option it gives you.
M.) XAMPP will want to extract into the “C” folder . Let it.
N.) When it finishes downloading, a black box will pop up and ask you questions. Keep hitting enter. Don’t change anything.
O.) On the final black box, where you have to enter something to make it go away, type a lower case “x” and then enter.
P.) You now have XAMPP on your computer, but DON’T PLAY WITH IT YET. There’s other stuff to do first.
PART II – Getting and Installing Drupal
A.) Go to www.drupal.org
B.) Click on “Download Drupal 6.16”, or whichever is the latest version
C.) Click on “Open”
D.) Drupal will download.
E.) Pay attention which folder Drupal is downloaded to.
F.) Use Windows Explorer (not the browser, but the file viewing program that is under All Programs > Accessories > Window Explorer) to find the Drupal file. You might have to check folders under documents, downloads, etc. If you can’t find it, create a folder in documents and download it again into that folder. Don’t try to open the Drupal download folder now, just make sure you can find it. It will look like “drupal-1.16.tar”. A “.tar” is a different kind of zip file, and you need a “.tar” opener for it, I found out the hard way.
G.) Go to www.winzip.com and download their free 45 day trial of winzip.
H.) After Winzip is installed, go to Start > Winzip > WinZip 14.0
I.) Click “Use Evaluation Version”
J.) Ignore the “tip” box, just close that.
K.) Click “Open”
L.) Navigate to the folder where the “drupal-1.16.tar” file is located.
M.) Double click on the “drupal-1.16.tar” file.
N.) A “Should Windows Decompress it to a temporary folder and open” box will appear. Click “Yes.”
O.) TRICKY PART: Click EXTRACT (that button is three spaces to the right from “Open”)
P.) TRICKY PART: In the left window pane box, double click on Computer>Local Disk C > XAMPPLITE.
Q.) TRICKY PART: Click ONLY ONCE on “htdocs” so that it is highlighted.
R.) TRICKY PART: Click on “EXTRACT” (the highlighted button) on the bottom of the winzip navigation box. (Don’t panic, it’s there. Take a breath and look for it carefully.)
S.) Drupal is now loaded in your htdocs folder of your XAMPPLITE installation. DON’T PLAY WITH IT YET.
T.) Double click on HTDOCS. You should see two folders there, XAMPP and drupal-1.16
U.) TRICKY PART: Right Click on drupal-1.16, Select “Rename” from the dropdown menu. Remove the “-1.16” from the end of the drupal file. It should just read drupal (all lower case) when you are done. This is important for later when your localhost looks for drupal.
V.) There should be two yellow folders in your htdocs folder, XAMPP and drupal. If this is what you have, so far so good! Leave the other files in there alone.
W.) Close all your Windows Explorer boxes and unused screens so you won’t get confused in these next steps.
X.) Double Click Local Disk C:> XAMPPLITE > HTDOCS > DRUPAL > SITES > DEFAULT
Y.) You will see a file in there named default.settings.php Right click on the default.settings.php folder and choose “Copy” from the drop down menu. DON’T PASTE IT YET!
Z.) Click on the back arrow (in the very upper left hand corner of the windows explorer box you’re in now) and you should see two yellow folders, “all” and “default”.
AA.) Right click in the white space underneath the “default” folder and select paste.
AB.) A copy of the default.settings.php folder will appear. Right click on it, select rename, and change the file name to settings.php All we’re doing is removing the “default.” from the front of the file name.
AC.) Highlight the newly named settings.php folder and drag it on top of the yellow “default” folder.
AD.) Double click the yellow “default” folder and you should see two files in there now: your orginal default.settings.php folder and your settings.php folder. Note: this is a file your database needs to write to.
AE.) Close all windows.
PART III – Getting XAMPPLITE and Drupal working together.
A.) Double click the XAMPP Control Panel icon on your desktop.
B.) An XAMPP Control Panel box will open in the lower right hand corner of your screen.
C.) Under “Modules” click the “svc” box for Apache so there is a check in it. Click Apache START. DO NOT click the “svc” box for MySql, but do click the START button for MySql. When both Apache and MySql change from “start” to “running”, click the “Admin” button next to MySql.
D.) On the left hand side, in the light blue column, there will be a “phpMyAdmin” logo, and under the logo a picture of a house. Click on the picture of the house (first icon on the left).
E.) A Browser window will open, and under My Sql Localhost there is a box that says “create database”. Write in drupal (all lower case) and hit “create”.
F.) Close the window.
G.) Open a browser.
H.) Type http://localhost/drupal in the address bar (If you only type in http://localhost you’ll get the XAMPP program)
I.) A Drupal screen should open. If not, check your XAMPP controller box (double click the XAMPP icon on your desktop if you need to open it) and make sure both XAMPP and MySql are started.
J.) Select install in English.
K.) Drupal will verify your requirements. Give it a minute.
L.) In the Set Up Database screen, enter drupal (all lowercase) for Database Name. For E-mail address, enter your e-mail address (you won’t be able to use the e-mail feature right now, but just put it in there) and TRICKY PART: for Database user name enter root (all lowercase) and for Database password LEAVE THIS BLANK. Do not enter anything.
M.) Administrator Account Setup: this is what you will use to access the site on your home computer. I just used my first name as my user name, and then put a 1 after my name for my password. It’s easy to remember.
N.) Once you’re finished, you will get an error message about your e-mail account. Ignore that for now. Your Drupal install is now complete and usable, and I would highly recommend Drupal for Dummies (http://drupalfordummies.com/) to learn what to do next.
To access Drupal whenever you login to your computer, open a browser window, go to http://localhost/drupal and enter your user name and password. Remember to make sure both Apache and MySql are running in the XAMPP controller box (double click on the desktop XAMPP icon).