Click here to Skip to main content
15,861,172 members
Articles / Programming Languages / PHP

Installation of Drupal in Step by Step Manner

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
26 May 2009CPOL3 min read 50.7K   8   9
An article on how to install Drupal in a step by step manner

Introduction

Drupal is based on PHP.

Install WampServer2.0h from here.

Note down the installation default path, i.e. c:\wamp.

Wampserver setup 1.JPG

www folder is present in c:\wamp folder. Here in www folder, one has to place the respective web applications.

There is no need of any other tools like “mysql-gui-tools-5.0-r17-win32 “ and EasyPHP for Drupal installation. WampServer has inbuilt server and database.

In Start -> Run: Type inetmgr.

Internet Information Services screen pops up.

Select Default Web Site under Web Sites and click on Stop item button at the top.

IIS.JPG

This is because by default, WampServer also uses 80 port.

Observe WampServer icon at the right side bottom corner of the desktop.

WAMPServer Icon.JPG

Left click on the icon and click on “Start All Services” (Right click contains options for exiting the WampServer).

Left click on the same WampServer  and now click “phpMyAdmin”.

phpmyadmin.JPG

phpMyAdmin home page screen appears.

phpmyadmin home page.JPG

Give “drupal” as “Create new database” and click on create button.

Click on Privileges to see the default database credentials are:

  • User: root
  • Password: blank
phpmyadmin privileges.JPG

One can add new user also. Here default database credentials are enough for the Drupal installation.

Download Drupal 6.x from here.

Extract drupal-6.10.tar file to “drupal” folder.

Copy “drupal” folder in WampServer installation location, i.e. c:\wamp\www\.

Keep another copy of default.settings.php file (present in C:\wamp\www\drupal\sites\default folder) and rename it as settings.php file.

Then in browser, type http://localhost/drupal/install.php.

Install drupal 1.JPG

Click on “Install Drupal in English” link.

Then Setup database screen appears.

Choose language and Verify requirements are automatically checked.

Here I gave “admin” as the user name for the database which is not present in drupal database that was created earlier using phpMyAdmin. So it throws an error.

errors.JPG

This is very important. Lots of problems come up at this point.

So before coming to this screen, create the database “drupal” with the default credentials “root” and blank(nothing) for password.

So under Database configuration:

  • Database name: drupal (which you have created using mysql gui tools)
  • Database username: root
  • Database password : empty
database configuration.JPG

Leave the default values in “Advanced options”. Click Save and continue.

“Set up database” and “Install site” are automatically checked.

In Configure site screen, under Site Information section, give

Configure site 1.JPG

In the same Configure site screen, under Administrator account section, give:

  • User name: admin
  • Email address: email@hotmail.com
  • Password: password
  • Confirm password: password

There is no need to change Server settings.

Remember the user name and password which are used for logging into drupal site with administrator credentials.

Configure site 2.JPG

Click Save and continue button.

This completes Drupal installation.

Finished.JPG

Don’t worry about the error message that mail was not configured.

On the left side, all are checked.

Click on “Your new site” link. Admin screen appears.

admin screen.JPG

Click on “My Account” link on the left side

Login with admin as username and password as password.

Then this screen appears:

Admin All modules.JPG

Left click on right side bottom corner WampServer icon and click on phpMyAdmin.

Notice that after the installation, 46 tables are created automatically.

tables.JPG

References

History

  • 26th May, 2009: Initial version

Links to Other CMS Installations

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
India India
I am Sreedhar Ambati working as a developer. I am having 6+ yrs of experience in Microsoft technologies like ASP,VB,ASP.Net, Vb.Net, C#.Net, Microsoft Dynamics CRM and Sharepoint Server 2007.
I used to blog at: http://ambatisreedharworks.wordpress.com and http://ambatisreedhar.spaces.live.com

Comments and Discussions

 
GeneralMy vote of 5 Pin
Manoj Kumar Choubey5-Apr-12 1:47
professionalManoj Kumar Choubey5-Apr-12 1:47 
QuestionDrupal development is becoming hot! Pin
Member 811340726-Jul-11 3:00
Member 811340726-Jul-11 3:00 
Generalhelp with drupal installation Pin
cyan7620-Jan-10 21:01
cyan7620-Jan-10 21:01 
GeneralAwesome I rated it a 5 Pin
jasonp125-Jan-10 9:55
jasonp125-Jan-10 9:55 
GeneralGood Pin
Tomas Brennan1-Nov-09 9:03
Tomas Brennan1-Nov-09 9:03 
Generalit is a good article for beginner Pin
guchangyuan14-Jun-09 15:05
guchangyuan14-Jun-09 15:05 
QuestionGreat article, but what is Drupal and why should i install it? Pin
Karijn8-Jun-09 3:21
Karijn8-Jun-09 3:21 
AnswerRe: Great article, but what is Drupal and why should i install it? Pin
RajanCodeGurus9-Jun-09 2:42
RajanCodeGurus9-Jun-09 2:42 
AnswerRe: Great article, but what is Drupal and why should i install it? Pin
DmiNi6-Oct-10 19:48
DmiNi6-Oct-10 19:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.