Professional Documents
Culture Documents
In this step-by-step, you will learn how to install drupal locally (on localhost / your computer) usingXAMPP program. I use XAMPP 1.8.1, Drupal 7.15, and Windows 7; But, it doesn't mean you are limited to those. This probably woks great for any Windows (XP, Vista, Seven, and 8), any Drupal 7.x version, and any XAMPP 1.8.x. Here are the steps to install Drupal locally using XAMPP software:
Press "Next" button. In next window, you should choose the destination folder for XAMPP to be installed on. Leave it as it is (c:\xampp), of if you like to change it, I suggest you only change the drive (e.g. d:\xampp) and not to change the destination to something like C:\Program Files\xampp. Press "Next". Do not change anything in the next window:
Press "Install" for XAMPP installation to begin. It takes some time... No need to do anything untill the "Finish" button appears. Press "Finish". A message pop-ups asking you whether open the XAMPP Control Panel or not, press "Yes". If you pressed "No", you can always open XAMPP control panel using the shortcut on your desktop. In XAMPP Control Panel window: Press "Start" buttons in front of Apache and MySQL modules, to enable them.
Congratulations! Your Local Host is ready. You can now put any site in the htdocs folder (in xampp folder) and access it from http://localhost. For example, you can put index.php in c:\xampp\htdocs\drupalkar and access it on your browser from http://localhost/drupalkar/index.php. Enter http://localhost on your browser. XAMPP page opens. Press English to enter XAMPP for Windows page. In this page, you can find different information about your local host, for example, press phpinfo() to view informatin about the PHP installed on your local server.
Open XAMPP Control Panel. Press the "Admin" button in front of MySQL. This will take you to http://localhost/phpmyadmin which opens phpMyAdmin. Go to "Databases" tab of phpMyAdmin. Below the "Create database" label, enter a name for the database you are going to create (enter "drupal7").
Press "Create". The database will be created and its name will appear on the left column of the page.
As you can see in the left column, you should pass 7 steps to install Drupal: Step 1: Choose Profile Choose "Standard" profile and press "Save and continue". Step 2: Choose Language If you like, you can read the instructions to install a language other than English and continue installation using that language. Here we continue with English. Go to next step. Step 3: Verify Requirements In this step Drupal checks to make sure your host has all of the requirements for Drupal to be installed with no problem. If everythig is OK, you will directly go to step 4: Step 4: Database Configuration Now we should enter the database info. Leave "Database type" as it is, because our database type is MySQL. For "Database name" enter the database name you chose on step 2.2 (we chose "drupal7").
Press "Save and continue" Step 5: Install Profile Drupal goes into installation process... After Drupal installed, you will be automatically redirected to step 6: Step 6: Site Configuration Enter the site information: Choose a name for your Site.
Enter an email. Since it is a local site, you can enter a fake email such as info@localhost.com. Choose a Username (usually "admin"). Enter a password and confirm it. Chooe the "Defualt country" and "Default time zone". No need to change the two last items. Press "Save and continue". Step 7: Finished! :) The last step will not take much time, actually it just tells you Drupal site installation is finished!
When Done
When done with your Drupal site and XAMPP, "Stop" Apache and MySQL modules, and "Quit" XAMPP.