Simple install of Drupal on XAMPP
Note: XAMPP 1.7.2 and later includes an incompatible version of PHP. Drupal will not install or operate correctly. Revert to XAMPP 1.7.1 until a PHP 5.3 Compatibible Version of Drupal
is available.
1. Download the latest compatible copy of XAMPP and install it on your C:\ (or main) drive. I found it worked better locating it at C:\ directly and not in Program Files. It is really easy to install XAMPP. One important point is to make sure you have Skype turned off, or alternatively in Skype go to Tools > Options > Advanced > Connections > Uncheck "Use port 80 and 443 as alternatives for incoming connections", and click "Save".
2. Open the c:\xampp\htdocs folder and create a subfolder. For this example, we'll call it "drupal" (C:\xampp\htdocs\drupal). Download the latest copy of Drupal, and extract it into this folder. Make sure the unpacked Drupal folders and files are in the directory called "drupal" as above and are not in something like C:\xampp\htdocs\drupal\drupal-6.4.
3. Decide on a password for your administrator (root) account. Let's say you choose "twinkle" (but pick something else!). Write it down somewhere where you won't lose it.
4. Copy the file "c:\xampp\htdocs\drupal\sites\default\default.settings.php" file to the same directory, and name it "settings.php". You should now have two identical files in your "c:\xampp\htdocs\drupal\sites\default" folder: one called "settings.php" and one called "default.settings.php".
5. Open the file "c:\xampp\htdocs\drupal\sites\default\settings.php" in a favorite editor such as Notepad++ or Vim (don't use Notepad or Wordpad) and modify two lines as below (but use your own password and not "twinkle"). For the second line, you will have to delete the "#" (comment mark) at the beginning of the line.
....................
$db_url = 'mysql://root:twinkle@localhost/drupal';
....................
$base_url = 'http://localhost/drupal';
....................
6. Browse to http://localhost/security and enter the MySQL user and passsword "root" and "twinkle" (but your password, of course). Stop and restart MySQL in the XAMPP control panel (takes ten seconds).
7. Browse to http://localhost/phpmyadmin. Log in with "root" and your password. Don't do anything except create a new database, for this example we'll call it "drupal". Type "drupal" (without the " marks!) in the box marked "Create new database" and click on the button "Create" just to the right of it. You should get a screen confirming the database has been created.
8. Browse to http://localhost/drupal/install.php and follow the simple instructions and you will have installed Drupal.
Note that if you browse to http://localhost/drupal before doing step 8, you will get an error message saying the object doesn't exist. If you browse to http://localhost/drupal after doing step 8, it will be fine.

Installing Drupal on Vista with Xampp
Just a note, that I picked up with some searching elsewhere....
When Installing Drupal on Vista with Xampp, if there is some extreme lag in page loading time and/or you get errors saying your Drupal Installation can access other http:// resources, then you will need to go to your hosts file located at
c:\Windows\System32\Drivers\etc\hosts
and edit it.
Place a # before the line that says
::1 localhost
so that it looks something like
#::1 localhost
This will comment it out this entry and possibly get rid of these errors.
If you want, you can also
If you want, you can also just delete that line. And also, it happens in XP too.
- Regards,
Francis Dinh
XAMPP Access forbidden on Security Page
XAMPP Access forbidden on Security Page
How to get access to the XAMPP Security Page
1. Navigate to your xampp\apache\conf\extra folder
2. Using a text editor, open httpd-xampp.conf
3. Find the following line:
Allow from localhost
4. Change the line to:
Allow from 127.0.0.1
5. Save the file and restart your XAMPP server
6. Try to access http://localhost/security/lang.php?en
You should now have no problems accessing the XAMPP Security Page via localhost or 127.0.0.1
Xampp on Windows Vista
Thank you for these posts. By using both these methods plus the following I managed to get Xampp and Drupal up and running under Windows Vista.
In following the directions on this page, you have to Stop/Start MySql - which my Xampp control panel could not do. Kept getting error message for attempt to stop MySql and not have to stop it. Consequently, moving onto the next steps was impossible.
Eventually found further instruction on different area of this website, whereby Vista users need to run as an Administrator and manually stop and start MySql in order for changes to be read.
See http://drupal.org/node/224342
Caveat: Do not edit settings.php
XAMPP 1.7.1 with Drupal 6.14
I kept getting mysql errors upon completion of these directions. To anyone else having problems - make a copy of default-settings.php (renamed to settings.php) but do not edit it. This will allow you to configure the database settings through the web editor and avoids mysql errors.
Hope this helps someone else
Cannot browser to any of these URLS
I have followed all of these directions and more and still cannot browser to any of the URLs listed. I had a hell of a time getting Apache to work and although I finally - after about 8 hours - manage to get it working, today I'm back to ground zero with Apache "started" but not displaying "running". I've searched high and low for answers. I've manually used the apache_start.bat and checked the error logs but right now nothing is registering in the error log itself.
Any suggestions?
I'm running Vista.
Thanks
I book marked this page.It was more helpful then the hour I have spent reading through the install guides.
I am so new to Drupal I could have started this post in a Biblical fashion "In the beginning..."
I already had a server running with another CMS and wanted to experiment with Drupal as well. I didn't know which file to modify to get permission. The install is a bit different then my Word Press install.I look forward to contributing to the conversation now that I have been let in on the discussion.
Thank You