Community Documentation

Installing Drupal on your Home Windows Computer Using XAMPP

Last updated May 25, 2010. Created by DrupalBeginner on March 22, 2010.
Edited by silverwing, figaro. Log in to edit this page.

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).

Enjoy!

Comments

Very useful

Fantastic, thank you!

“phpMyAdmin”

Hi, great instructions up to the point where I got to “phpMyAdmin” Every time I tried to launch “phpMyAdmin” it just came up blank in the browser.

I'm stuck!

Hints tips and a point in the right direction would be appreciated.

Cheers

Apache web server may not be

Apache web server may not be up and running, if you have IIS also installed in the same m/c as apache, there will be port conflict. You can check that by clicking on Port-check button on XAMPP Control Panel. It is 3rd button on right hand side.
If that is the case the best thing to do is stop IIS, World Wide Web services and disable them (so that they are not started after the reboot)
Once that is done try to start the Apache again from XAMPP Control Panel. You should see Apache service as running.

Tips for checking ports on new version Xamp

If you can not get Apache or Mysql running on XAMP control panel, read on:
On the new version 1.7.7 of Xamp you may not find the port tab on the control panel. You may also have more then one service using port 80. As mentioned above this may be why you can not start XAMP modules. Here is quick way you can fix the port problem.

1. Go to your start>Run> and click to open the run window
2. By default you should have 'cmd.exe' hit 'ok'
3. You should bring up the black command window. type in netstat -aon and hit 'enter'(there is a space between netstat and the -)
4. This brings up a list of what services are listening in on your ports. What you need to do is look for
TCP 0.0.0.0.80 this is port 80, now look to the right hand column under PID and look for the PID number for example mine might be 3696 but yours could be any number. leave this window open.
5. on your keyboard hit ctrl>alt>delete to bring up your windows task manager. Click on the tab that says 'Processes' and look under PID for the number that is using port 80 in my example it was '3696' highlight it and hit 'end process' this shuts off what is using port 80.
6. Now refresh Xamp and start your service again it should now be running.
Tip: IF you DONT see the PID column in the windows task manager go to view> select columns>check mark PID> this will add PID to the task manager
Skype as well as other programs can interfere with port usage. This is a quick way to get up and running.

Yep - very useful

Did get drupal up on a linux machine. But Win7 was a challenge (as in not having a clue how to do it). I followed this and it worked. I am not nit-picking on file vs. folder. TO do a drupal by ones-self to me means you should know about basics of how-to software installation.
I even blew the Drupal installation by hitting a wrong key before I should have. So I closed Apache and MySQL (to open-source!) deleted the drupal folder, re-extracted and such. All told this was 30 minutes. Neat and quick.
Thnx for working this around, and then follow-up links. My plan is to get get Alfresco (go open-source!) and then make this available to the public (and me when elsewhere). Including on my Android phone (oh yea, did I mention go open-source! ?).

Rory

I get Object not found error

I am accessing http://localhost/drupal but I always get Object not found. What to do? :(

So extremely helpful!!!

While the 'dummies' book does a great job on the drupal side, this 'how-to' was perfect for helping me get everything else configured correctly. Thanks for the effort and thoughtfulness of creating this doc.

...

This page needs to be part of a book outline. And the title should probably include XAMPP - as opposed to WAMP.

~silverwing -

________________________________
MisguidedThoughts

thanks

Thanks for the comments! Silverwing, I tried WAMP but couldn't figure out how to make it work.

XAMPP was a lot easier. Yes, there are a TON of people who really want - and need - a drupal website (I'm an aspiring standup comedian) and what really makes people gravitate to a site is the ability to interact with it. People expect that now.

What would help Drupal grow like a rocket would be better "on ramps" for the new user, BUT "on-ramps" rated by skill level. For example, on the home page, if the help menus looked like this:

GETTING STARTED WITH DRUPAL:
Click here for the novice user, no HTML or CSS experience
Click here for the intermediate level user, some HTML, CSS, no PHP
Click here for the advanced user, HTML, CSS, PHP...

Then have a "Glossary of Terms" explaining everything from Open Source to PHP. Basically, an article embedded with Wikipedia links.

What would really rock would be "BUILD THIS SITE" Guides...have a bunch of sites, application focused, for example a fan site for a performer, that list the steps to build it start to finish.

Just my thoughts...

- DrupalBeginner

...

I'm primarily a Mac user, but I have tried XAMPP and WAMP and I personally just find WAMP more user-friendly.

I'll be the first to admit that I don't understand the Drupal Documentation structure - this was a reminder that this page needs to be part of an outline and that XAMPP should be in the title!

So if you could find a home for this page (tutorials?) and add XAMPP to the title, that would be great! (And I'll delete these comments about it!)

~silverwing- a drupal.org site maintainer

________________________________
MisguidedThoughts

Say it loud

You are right on! especially the part about walking us by the hand from start to finish of a website we want. I am the older generation but I know I can follow simple instructions if they are explained clearly with examples. If Drupal did this they would indeed take over the world. I wonder why they dont?

Excellent suggestion!

I think you hit the nail right on the head. There is a lot being said about getting started, but lets face it, the three levels explained in the former post above, break down exactly what we need. I am a user with HTML/CSS experience but no php. I dont know a thing about setting up a test server or how to use testing environments. Web design software packages offer their own browser test environment that has no need for any set up whatsoever. A lot of basic web users are coming over from Dreamweaver or similar web layout software and are taking a plunge into working with Drupal that now incorporates php and a server test environment. Before we get started with Drupal we need to get set up properly. This is a step that seems to be underestimated by support.

Many Thanks

Thank you so much for these directions. I did not have the time to put into figuring out how to load this on my computer to play and learn with before actually doing a site on the web (I have been using dreamweaver but wanted something customers could add/update content themselves) and I can tell this saved me tons of time and frustration.
I had a few minor differences in loading but not enough to confuse me. Many, many thanks. And now I am set for when my copy of Drupal for Dummies arrives. In the mean time, I can check things out and get my feet wet.
Yeah for webbies who help us get through the techie part!

Thank you, pal

Gracias, NTSC

many thanks for the detailed

many thanks for the detailed instructions. Worked like a charm!

Great help!

This article WAS of great help. THX a lot! Starting to get myself into the world of Drupal... :)
//nISAMoNE

Thanks for the excellent, accurate instructions

After struggling to get a local testing server and Drupal up and running for a few days - and being completely unable to figure out what was going wrong, I found your excellent instructions and they solved my problems, showed me what my errors had been, and got me up and running on the very first try!

Thanks for your time and effort, and good luck.

Thanks!

You've made installing and activating Drupal pain free! I would love to see this in a book and I thought your idea of having instructions geared toward different levels of knowledge is an excellent one. Thanks again...

Cathi

installling drupal

great until I need to pull up a browser "localhost/drupal" It brings up "object not found" - Part III, H.

Any suggestions?

installing drupal

1st try: make sure you're using http://localhost/drupal and not http://www.localhost...

2nd try: Double click the XAMPP icon on your desktop and make sure both Apache and Mysql are running (click start).

Let me know...

- DrupalBeginner

installing drupal

hi there. have the same problem. in the sql box apache says started but never get the apache to say 'running' so i'm not convinced its started. i get the same ' no object found ' . thanks for your help.

- oops just saw the comment below - skype has to be OFF. this worked. THANKS!

Bigamama

Object not found

I am having the same above mentioned error and i do not have Skype running?

What to do?

Mavis

Ditch all this crap. Do you

Ditch all this crap. Do you want to learn Drupal or how to configure web servers? Go to Acquia dot com and download the Acquia Drupal Stack Installer (http://acquia.com/downloads) for your OS. In about 5 minutes you'll have a complete working Drupal installation that also includes many contributed modules.

Darknessy Drupal Installation Zone

(Please, excuse my bad English)

I am a old-new Drupal beginner.
I tried to install (Win-localhost) Drupal 6.x at least in 8-10 opportunities and left it every time.
For these trials I read every piece of related text in drupal.org and "drupaling" sites and blogs or articles I found.
For any reason, each article or tutorial was unclear or unaccurate or incomplete or simply wrongly-explained in one or more steps, and the "golden-way" was missed by me, every time, again and again.

Again and again, I thought: "I should leave it and jump into Joomla or Wordpress", but didn't want to renounce to the excellence promised by Drupal reviewers and fans.
A month ago, I succeeded (Hallelujah!) with Drupal installation, after 4 new attempts: raw, 2 Bitnami Wamp, and Xampp ways. (The last and success-crowned attempt was a Xampp one).

If the first time I met Drupal I could get a clear, concise and straightforward tutorial like this one, I think I had been building Drupal sites since 2008 (the early D6 days).

In my modest opinion, the lack of an INSTALL APPLICATION or a GOOD INSTALLATION TUTORIAL blown away from Drupal a lot of people that possibly went over to other CMS and will find themselves, in a migrating future step, coming back to Drupal installation process because of the other CMS limitations.

Together with a very poor admin interface (3 in a 0-10 points Usability/User Friendly scale), the installation issue is the Drupal 6 Achilles heel.
Perhaps should be in the Drupal core team some non-code-oriented guys helping in avoiding these sins.

"DrupalBeginner" - you did a GREAT JOB. Now we all should spread it webwide.

Thanks!

Alternata - do not worry about your English, it is good! I wish I could speak another language as well as you speak English. I'm glad this was helpful.

- DrupalBeginner

xampp control panel

I was able to solve the problem described bellow... it seems that Skype should be turned off! After that it worked fine!

The instructions went great, even to easy for me at the beginning... till I came to Apache MySql running part. I followed the instructions to the letter but there was no green running between apache and start button... in the text bellow it's written:

Apache service started
Busy...
MySQL started

when I push the Admin button next to MySql (there is green running text displayed)
I get the message:

"Oops! This link appears to be broken.
Suggestions:
*Search on Google:
localhost phpmyadmin"

I am using xp windows btw Is that maybe the problem? if it is, wher can I get instructions for local xp installation?

thx for the answer

XP

Matiger - I had a netbook with XP and XAMPP wouldn't run on it. It has something do with the later versions of php/mysql. You need to upgrade to windows 7. BTW, to upgrade you need buy an external drive big enough to backup all your XP files as your hard drive will be wiped clean in the upgrade.

- DrupalBeginner

XAMPP on XP

it's not necessary to upgrade to windows 7, it works just fine with Windows XP. My main problem was skype running in the background, the other was that I had wampp and xampp installed simultaneously. So it's either xampp or wampp but not both and quit skype during installation. that's all.

Great tutorial - thanks!

Yes, it should have Xampp in the title, but I still found it, so thank you for the detailed instructions! I actually already had Xampp installed so I was able to skip some of the instructions, which made me a little nervous. Worked like a champ, though. Much appreciated!

Note: perhaps rather than make seperate links for different skill levels, simply make subsections for some of the easier steps. For example, you really spell out how to browse to a file, right click it, make a copy, paste in a new directory and rename. Instead, you could simply say, "Make a copy of the settings.php file and paste it into the .../xyz/sites/ directory. Follow the next 10 sub-steps for more detailed steps, or skip to the next step if you're ready."

Just a minor suggestion to an all-around excellent article. thanks again.

Thank you

I needed every word of what you wrote! I loved "Don't panic, it's there. Take a breath and look for it carefully." I have installed it! Thank you!

Its easy to install in local

Its easy to install in local computer if running win 7...just download the web platform installer from microsoft.. its included everything mysql php drupal.. and of course you have to use iis. If you plan to use apace in windows than follow this guide.

Thank you

Thanks

bottom EXTRACT

Hi, thankx for that all work . It is helpfull for sure. Just that part 'don't panic, it is there...' I'm trying don't panic, but still cant find that bottom. Where exctly is placed? I downloaded winzip 14.5 and unfortunately finished befor these tricky parts...

thankx

lucy

Extract button

Lucy -

Not sure of version 14, but try this program instead. It's free:

www.7-zip.org

Once you have it installed, go the file you have the drupal program in and click "extract". It is right on the top of the page.

- DrupalBeginner

page cannot be displayed

i'm ok up to Part III C. when i clicked the Admin button next to MySql, a browser opened and gave me "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."

what could be the problem? sorry, i'm a newbie in drupal. need help badly. thanks.

My problem fixed

I encountered this same problem and frankly, I am not sure of the fix. But I am sure it was because Apache was not "running." The next morning I tried to uninstall XAMPP directly from C:. It would not allow me to do so, so I opened XAMPP to see if there was an uninstall. There was not but Apache stated it was "running" which it had not indicated the previous evening. So I started MySql and continued down the list. Also, the only thing I did besides trying to uninstall was a reboot or two. Anyhow, go figure...

Additional notes:
PART III – Getting XAMPPLITE and Drupal working together.
C.) - this is where my problem was. Apache must be running. If it is not, you need to wait or????? see above...
D. & E.) - when I clicked the Admin button on MySql, I did not need to click the house. MySQL localhost was already there.
L.) I was not asked for a password until next screen (Drupal 6.17)

My system: XP prof. svc. pack 3

XP and XAMPP not recommended

Early on I tried to install Drupal on an XP machine and ran into a lot of problems. After a lot of research I found out that PHP 5 (used in MySql) isn't supported by XP. To prevent a lot of problems in the future, I'd recommend upgrading to Windows 7 if possible.

- DrupalBeginner

Really?

For the last four years I've been doing all my local Drupal work using Win XP with either XAMPP or the Acquia Stack Installer.

XP

Which version of XAMPP?? Maybe with an older version it runs o.k. I know the newest version of XAMPP one uses the latest MySQL/PHP version...I bought an HP netbook with with XP on it (about a year ago) and man what a nightmare...

- DrupalBeginner

i was able to make apache and

i was able to make apache and mysql run in xampp. but i still get 404 in localhost/phpmyadmin?

what could be missing?

Are you using XP?

If you're using XP, see the above note. XP seems to be a problem for Drupal.

- Dave

- DrupalBeginner

try drupal

Make sure you put http://localhost/drupal in the address bar, not localhost/phpmyadmin.... also, make sure your database is named drupal (all lower case).

- DrupalBeginner

Thanks alot!

This resource helped me to install drupal in a flash!...

Hi Guys -

Thanks for all the notes, I greatly appreciate it!

It took me a long time to figure out how to install Drupal, but now the battle is how to make a decent website with it - which is proving equally as challenging!

My recommendations are: (from beginner to more advanced)

1.) Drupal for Dummies by Lynn Beighley www.drupalfordummies.com
2.) Drupal 6 Site Builder Solutions by Mark Noble (PACKT Publishing) www.packtpub.com/books/drupal
3.) Drupal 6 Site Blueprints by Timi Ogunjobi (PACKT Publishing) www.packtpub.com/books/drupal

The next thing I'm trying to figure out is how to make sure the database is secure...not quite sure how to do that and it makes me hesitant to launch my sites...

- Dave

- DrupalBeginner

Three Windows and XAMPP Nodes

Marc Vangend suggested cross-reference between these three Drupal

documentation nodes (below). All three address How to Install Drupal and

XAMPP on a Home Windows Machine.

I wrote the first node for the absolute non-tech person. Like so many

bloggers out there, I wanted a Website readers can interact with and is easy to

maintain and "do it yourself." Drupal is perfect for that. However, for the non-tech person without access to a programmer, Drupal can be hard to install and set up.

The next two nodes (not mine) are great for more tech orientated users.

Please take a look at all three and see which one works best for you.

http://drupal.org/node/749846

http://drupal.org/node/161975

http://drupal.org/node/307956

- DrupalBeginner

Fantastic !!! : Drupal Installation for dummies

Drupal Installation for dummies

Is it possible to have more than 1 local instance?

Hi,

I followed your instructions and everything worked nicely. Is it possible now to repeat the same for a second, third, etc local installation, e.g. for localhost/drupal2, localhostdrupal3, etc?

How do I do that?

Thanks.

What a mess of a tutorial!

Ok, I really am confused... Let me tell you why, Cherlock.
You wrote:
X.) Double Click Local Disk C:> XAMPPLITE > HTDOCS > DRUPAL > SITES > DEFAULT
Y.) You will see a file in there named default.settings.php (YES, I SEE IT!) Right click on the default.settings.php folder (BELIEVE ME - THERE IS NO SUCH FOLDER. THERE IS A F_I_L_E with that name INSIDE the "DEFAULT" FOLDER. I selected a FILE) and choose “Copy” (I COULD ASK "COPY WHAAT? FILE? or FOLDER?" Cmoon?!) 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”. (YES, I SEE THEM)
AA.) Right click in the white space underneath the “default” folder and select paste. (OK, DID THAT - I PASTED A F_I_L_E)
AB.) A copy of the default.settings.php folder (?!) will appear (NOPE! I TOLD YOU THERE IS NO SUCH FOLDER. IF I COPY THE FOLDER, I GET "Copy Of DEFAULT (which is a folder)). THERE IS ONLY A F_I_L_E called default.settings.php.)
Right click on it (IT SEEMS LOGICAL THAT YOU MEAN FOLDER? BY THE WAY IT'S IMPOSSIBLE AS IT DOESN'T EXIST...), select rename, and change the file name (HOW CAN I CHANGE THE FILE NAME BY RIGHT CLICKING ON A FOLDER? HUH?) to settings.php All we’re doing is removing the “default.” from the front of the file (U SURE?) name.
AC.) Highlight the newly named settings.php folder (FOLDER? ARE YOU SURE? AS I SAID THERE IS NO FOLDER WITH THAT NAME TO BEGIN WITH) and drag it on top of the yellow “default” folder
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. (YOU MUST BE KIDDING.... I AM SUPPOSED TO SEE TWO FILES THAT ARE...KHM... FOLDERS? DAMN IT - CAN YOU EVEN MAKE A DIFFERENCE BETWEEN FILE AND A FOLDER?)
Note: this is a file your database needs to write to.
AE.) Close all windows.

Nevertheless - I got it all up and running on my XP without any problems, so thank you! But please, just try to be correct about the folders and files....

Bad manners

Dude, even when long time has passed, I have to say that you're very ungrateful. And not funny at all, if that was your objective when you wrote your rant. And since you seem so keen on finding fault in others, let me help you out: the name is "Sherlock", not "Cherlock", Sherlock!

Im confused

Hi i followed the instructions i believe verbatim and when I oppend up the XAMPP control panel I check the Svc box for Apache and click start on both it and the Mysql thingers. The one Mysql starts and go's to running but the Apache says busy... how do i fix it so the Apache run's also?

Thank you

....thank you for making the installation and setup for Drupal so clear and concise. It would have made this whole process so much easier if these instructions were included in the first 44 pages of "Drupal for Dummies". Thanks again.

stuck on the install 2nd time

I got to Part III step D. this is my second attempt at installing. Although I uninstalled first attempt wondering if it is causing issues via some left behind file from first install. On mine i do not see a pic of a house on myphpadmin I see a sail boat at the top and user name password below. So cannot get past this step. Same place I got locked out of in the forst install user name and password i had set would not log me in. hence decided to re-install and here I'am.
Thanks in advance for your help and support,
Randy

Thank you!

Thanks so much for these instructions, they are a life saver! I was going round in endless circles until I read this!

How to publish drupal online?

What will I do next after I created my drupal website offline? I want to publish it online using web hosting sites. How am i going to do this? I'm eager to know your replies. Thank you.

Hosting a site online

Hi,

So now you are ready to host your drupal site online. I recommend some kind of hosting plan like the ones listed on this link... http://drupal.org/hosting.

You will need to export your database from phpmyadmin on your local computer and import it to the one you create on the hosting plan. You can do this fairly easily through phpmyadmin. If your database is too large for the upload then you will have to edit the php.ini file to increase the max_upload limit.

Then you transfer all your files to the hosting plan by using FTP I recommend filezilla. Put all your files in the root directory of a domain that you have set up. In your hosting plan they should explain how to do that.

You will need to edit your settings.php file to match the user, databasename, and password you created when you made you database on your new hosting plan.

The line you edit will look something like this.
$db_url = 'mysql://username:password@localhost/databasename';

just change the word username to the username you created in cpanel or through phpmyadmin. Change the word password to the password you created in cpanel or through phpmyadmin. Finally change the word database name to the database name you created in cpanel or through phpmyadmin.

You should then re upload the settings.php file to your server. It is normally in /sites/default/

Also Read

Portable xampp with xp home - help!

I installed Xampp on a windows 7 laptop. Thanks to the above instructions it was very easy and quick. It is working great!
Now what I want to do is to be able to work from my home computer which runs windows xp sp3 home. The problem is that Xampp can not run with xp home, so my questions are:
1. Would it be possible to run Xampp from an eternal usb drive by installing another operating system on it - linux, puppy linux, unbuntu? Which one would be better and what is the best way to do it?
2. How do I operate the 2 different operating system on the same computer? Will I need to reboot each time I want to use Xampp? Would I need to change anything on how my computer boot?

Part Three Troubles

Hello,

I would like to start off by saying that I think this is a great tutorial. I have managed to get further in the process with XAMPP than any other program. However, I am struggling with an issue in part three of the tutorial. When I click Admin for the MySQL section of the tutorial it does not do anything. I can click the Apache Admin and it will take me to the XAMPP page but nothing will happen for the MySQL. I am not sure what to do at this point and could use some help.

Cheers, Brendan

I have this same problem. Did

I have this same problem. Did you find a solution to it?

Mysql admin button doesn't do anything.

Well, I installed the newest version of xampp instead of Xampp lite because I didn't see it under the list at apachefriends. I got all the way up to C on Part 3. I had to restart my computer and start Xampp under admin priviledges (even though my user is admin anyways) and then I was able to uncheck svc and start Php and Mysql. But when I click on the admin button on Mysql it does exactly this: Nothing. I don't really know what to make of it and I tried searching for a solution to this problem, but after 30 minutes of typing the same thing into Google I have nothing left.

Shebillah, Check my post

Shebillah, Check my post above on "Tips for new version of XAMP" it may be that your ports are busy and you can not get Apache or Mysql running. My tut will walk you through how to fix it.

Unable to check SVC

Hi.....well, first of all let me thank you for giving such an elaborate instructions. Now, the problem I am facing is when I open up the apache control panel and then try to check the SVC of apache under modules. Its not getting checked as if it has been disabled. And without getting it checked I am feeling tentative to move further. Secondly, on 'apachefriends.org', I got the link for XAMPP USB Lite rather than XAMPP Lite. I hope its not an issue?
Thirdly, while installing XAMPP, in the end the black box appeared and disappeared by itself. I need not to hit enter. Is it ok?

You downloaded and installed

You downloaded and installed the USB version? That should be OK. Did you use the version (EXE) with the Windows Installer or one of the Zipped versions? The Windows Installer version should install Apache and MySQL as services. This is the Command Line "black box" that you see. If you used the Zip installation, you'll need to run setup_xampp.bat from the \xampp\ folder. If the Svc box is greyed out and can't be selected then something must have prevented the service from being installed correctly. You can install the Apache service by running \xampp\apache\apache_installservice.bat.

No longer a XAMPP Lite

I think what is confusing people is that there is no longer a XAMPP Lite, just a XAMPP USB Lite. Is this new version the same as the old Lite?

Great!!

Many thanks. I have used Drupal now for 3 years. But always balked at the challenge of setting it up locally.

You made it easy.

About this page

Drupal version
Drupal 6.x
Audience
Contributors

Tutorials and site recipes

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.