Webmaster Tutorials

How To Install Drupal On Windows?

In case, you get a Windows based web hosting, and want to install Drupal, then below how to install drupal on windows with xampp will be right for you. Drupal is a useful tool nowadays. It can be used for several purposes such as building blogs, websites and enterprise application as well. It is a content management system and content management framework. It is open source and hence highly modifiable. It is written and operates on PHP platform. It is popular among new internet geeks since it comes with a freeware General Public License (GNU). Thanks to the thousands of modules and designs, any website of our imagination can be built on Drupal.


Here is a step by step guide for the process of how to install drupal on windows with xampp:

  1. Downloading XAMPP:

Simply Google with keywords “XAMPP download” and you will be served with plentiful of links for downloading setup for XAMPP download. Since it is a cross operating system server, make sure the setup is downloading matches your operating system. According to this guide, you will be downloading a XAMPP setup for windows. You can download it either as a setup or zip file. Choice is yours since it does not affects this method of installing drupal on windows.

  1. XAMPP server installation:xampp

No additional knowledge is required to get through the installation process of XAMPP server. A prior knowledge of installing any normal software on windows will be more than sufficient. Just keep in mind that you have to install XAMPP server outside program files. If it is installed inside program files, one needs to manually disable UAC from Microsoft configuration. Not doing so will cause windows to deny writing rites of XAMPP server. After giving the destination outside the program files, process will continue. Through the installation, you will be asked to select some additional services. Select all of them and continue. It will install useful services such as apache, My SQL and file zilla.  Remember that all of them and specially MySQL specifically necessary.

  1. Downloading Drupal:

Drupal can be easily downloaded from their official website named www.drupal.org. Here, you can find all previous and latest version of Drupal. They also provide option to download the content as zip file. Choose to download it as zip file since it is handier for windows users. This method uses ZIP file components so you better download drupal as a zip file.

  1. Verifying XAMPP installation:

While drupal is being downloaded, let us verify if XAMPP is installed properly or not. To do so, open XAMPP control panel. Click admin button in Apache row. This should open XAMPP menu in your default web browser. If so, it verifies that XAMPP is properly installed and running on your personal computer. You can also try creating a dummy MySQL server and drop / delete it. Just to verify that all installed services are not only showing up but also functioning properly as they are supposed to do so.

  1. Configuring Drupal installation:

Before starting to setup Drupal, multiple operations require to be done such as creating a database in MySQL, creating a user etc. Here is step by step guidance for completely configuring drupal installation.

Unzip the zip file content in folder named drupal. You have to copy this folder in htdocs folder which is located at installation directory of XAMPP. Now open XAMPP control panel and click the admin button as did previously. At the bottom left corner of the screen, click on “phpMyAdmin”.

Now you will see a MySQL local host creation section. Enter “drupal” under the option create new database. Here, drupal is the name of that folder that contains all the modules we unzipped. The name can be any, database name and folder containing drupal must be same. Click on create.

Now create on the home button located at admin menu / sidebar at the left. You will receive a massage verifying the creation of the database which you can now see in left side, if not refresh the page and you will. After verifying the creation of the database, click privileges located on top listed menu. When redirected on the next screen, click on add new user.

Give new user name as “drupal” and host as “local host”. Password can be any of your choice (of course!). Check every option in global privileges and click on go. This will lead you to a message verifying successful creation of the user. Now we are all set to begin the installation of drupal.

  1. Installing Drupal:3

After creating necessary database and access users in your Drupal hosting server, let us continue to the actual process of setting up Drupal.

Open a new tab in web browser and type “httl: //localhost/drupal” in address bar and hit enter. It will show the installation page of drupal. Click on save and continue until you reach to setup database.

We will be providing the database name as “drupal” as we did to the database in MySQL. Database username password can be any of your choice. Now hitting save and continue will begin a small process of configuration.

Once the process is complete, site configuration page will pop up. Here, you have to provide your email id and username and password of your choice to logging into drupal page. Country and time zone also needs to be provided. One all details are filled up, click on save and continue. Next screen will confirm the installation of drupal. Click on visit your site to start working on your new website and have a cup of coffee.

Congratulations! You have just learned to how to install drupal on windows with xampp. We hope this short guide has cleared all your doubts related to the installation of drupal on windows .

Leave a Reply

Your email address will not be published. Required fields are marked *