[documentation] [Documentation task] Drupal in Windows XP
johnchuash
drupal-docs at drupal.org
Sat Oct 14 19:05:49 UTC 2006
Issue status update for
http://drupal.org/node/89225
Post a follow up:
http://drupal.org/project/comments/add/89225
Project: Documentation
Version: <none>
Component: User Guide
Category: tasks
Priority: normal
Assigned to: johnchuash
Reported by: johnchuash
Updated by: johnchuash
Status: active
Dear All,
I've tried to install Drupal in my Windows XP pc environment to serve
as localhost before i really put them up on the web.
After weeks of trying, Finally, i manage to set up the drupal sites
using only 2 program (ApacheFriends XAMPP
and Drupal 4-6-9). No more PHP or mysql headache. As shown below is
the step-by-step procedure i've taken.
1. Download the Apache Xampp program and extract the content into C: or
D:. The extractor should auto create teh folder. Assume we select the D:
drive. The folder created should turn out to be something like
"d:\xampp"
2. Open the "d:\xampp" folder and double click on the
"setup_xampp.bat". This shall activate the Apache and MySQL service.
Next under the same folder, click on the "apache_start" and
"mysql_start". To ensure that the SQL service is running, please goto
the ":\xampp\mysql" folder and click on "mysql_installservice".
3. Open the internet browser, enter the url address "http://localhost".
If the sites auto direct to http://localhost/xampp and the screen
showing the "AMPP for Windows" message. YES, we have finish setting the
ApacheFriends XAMPP server.
4. Next, open the d:\xampp\htdocs folder and create a subfolder call
"drupal" (d:\xampp\htdocs\drupal). Extract the drupal program into this
folder. Remember to change contenty of the "setting.php" located in
"d:\xampp\htdocs\drupal\sites\default" folder using wordpad as the
following:
....................
$db_url = 'mysql://root:@localhost/drupal';
....................
$base_url = 'http://localhost/drupal';
....................
5. At the internet browser pointing to the http://localhost/xampp,
locate the "phpMyAdmin" tools and create a new database call "drupal".
The screen shall guide us to the new database created. Select the
"import" bar on top of the page. At the file to import prompt, select
the browse button and select the file "database.mysql" located in
d:\xampp\htdocs\drupal\database" folder. Select the go button. Once the
file successfully imported. Now, using the internet browser, goto the
"http://localhost/drupal".
6. If you see the header with html code on top and "create tyour first
account" link and some other link, YES, YOU ARE AT THE RIGHT PLACE.
Select the "Create your first account" link and create your username, as
well as enter your email. The system will prompt to login. Once you
login, PLEASE CHANGE THE PASSWORD to something which is easier to
remember, as the default password by the system will be kind of hard to
remember. Once your save your confuguration and the system prompt you
that your account bveen created and your are the member of the sites,
and showing the times (mintues of connection to the sites).
7. Now, enter the URL address as "http://localhost/drupal" again to go
back to the screen as in step 6. Select the link on "Themes", choose the
theme of "Chameleon" (selecting both the enable and configure caption).
Save your configuration. By this times, your should see your drupal
sites is running in localhost with the graphic interface.
Hope the above info help the beginners like me in setting drupal in
localhost.
johnchuash
More information about the documentation
mailing list