Last updated on June 22, 2017
Install Drupal with WAMP
Situation: To develop DRUPAL on my laptop
I want to download DRUPAL onto my laptop so that I can develop DRUPAL websites on my laptop before I load them up to my hosted server accessible by the public.
I already develop WordPress and Wikis on my laptop and with a local server WAMP. I got the instructions to download WAMP from Lifehacker.
Mission: A 5 minute install of DRUPAL on WAMP
I want to download Drupal and set it up successfully.
Execution: Critical steps for downloading DRUPAL quickly and successfully first time
#1 Check my directory structures
- C:wampwww. . . .[all my development sites]
#2 Make a directory to receive DRUPAL
#3 Start WAMPSERVER
- Go to Start/All Programs
- Active WAMPSERVER (my installation asks me to confirm permission)
- Look for icon in the bottom right of the task bar (W)
- Check options ( localhost, phpMyAdmin, PHP which includes php.ini)
- Go to localhost and see the folder you create “mynewsite” (though there is nothing in it yet)
#4 Set up my new SQL database
- Go back to the WAMPSERVER menu (W) and select phpMyAdmin
- Look in the middle of the page for Create database
- Insert the name of the database. I usually use the name of the website. Hit Create
- Check your privileges. If you set up your WAMPSERVER using the instructions from Lifehacker, then you will have two root users and yourself and all three users have global privileges. Note your username (!) and recall your password. You will need them shortly.
#5 Download Drupal and unzip it into your folder : c:wampwwwmynewsite (or whatever you called it)
- I got the latest version which is 7.8 in a zip file.
#6 Install Drupal
- Go back to the WAMPSERVER menu ( W on taskbar bottom right)
- Select localhost
- Select “mynewsite” (or whatever you called it)
- You should be looking at the Drupal installation screen.
#7 Activate the DRUPAL installation programme
- Select standard install
- In English (assuming that is your preference)
- Leave the selection as SQL
- Insert the name of your database
- Insert your username (see step 4 above)
- Insert your password
- Let DRUPAL do its thing
#8 Now do as DRUPAL asks and put in the email address, admin name and password for the website
- NB These are not the same as the database in steps 4 and 7.
#9 Go to configuration
- Make sure “clean urls” (pretty permalinks) is ticked.
I now have a working DRUPAL website accessible through my WAMPSERVER/local host or through my browser http://localhost /mynewsite and in under 5 minutes.
It’s ready for tweaking and development prior to being loaded up to a hosting service for public use.