The XAMPP & WordPress combination is greatly used for website development. While XAMPP provides the local server environment, the WordPress is a web development platform. XAMPP is the most common localhost application used by the developers. Being cross platform, it can be used on Windows, Linux and OSx. In this article here at Templatetoaster WordPress theme generator and WordPress theme builder, I will discuss the installation of XAMPP and WordPress on Windows.

 

XAMPP Installation

 

Get start with setup

Download XAMPP for windows from apachefriends.org. Then, run the installer to get start with the XAMPP setup.

 

Select Components

Select Components( all components selected)

 

In the component wizard, all the components are by default selected. You can uncheck the components that you don’t plan to use.

Let’s quickly go through these components.

ApacheIt is the HTTP web server, and essential to run the website.

MySQL– It is the database server.

FileZilla FTP server– It is used for setting up an FTP server.

Mercury Mail ServerIt is used for setting up a mail transport system.

TomcatIt is an application server, which runs Java based web applications.

PHPIt is a server side scripting language used for making dynamic web pages.

PerlThis language is widely used by the programmers for writing CGI scripts.

PhpMyAdminIt is a necessary component to handle the administration of MySQL.

WebalizerIt is a web log file analyzer, which generates statistical reports about how many people visit a website and what do they look for in the website

Fake SendmailFor testing email transfer on localhost, Fake Sendmail is used. If you are going to work on such a project which involves sending emails, then this component will come in your use.

 

Select Components

 

We have chosen the Apache, MySQL, PHP and phpMyAdmin since these are necessarily required for WordPress installation. As we don’t have any plan to use the rest components, we have unchecked them all.

 

Install

After selecting the components, you will be prompted to specify a location where you want to install XAMPP. Once you specify the location, the setup will be ready to install.

 

Start Apache and MySQL

Start Apache and MySQL

 

Once the installation is complete, open XAMPP control panel. For this, find the xampp-control.exe inside XAMPP folder and launch it. Default location of XAMPP folder is  C:\xampp

Having to open the control panel, start the Apache and MySQL components. As you will start these components, their Admin links will become clickable. Then, select MySQL “Admin” for moving ahead to phpMyAdmin or you can open it from here http://localhost/phpmyadmin .

 

WordPress Installation

Create MySQL Database

create MySql Database

 

On phpMyAdmin interface, find the “Databases” tool on the top-left side and create the database. For example, we have created the database by the name wordpress.

 

Unzip WordPress zip file

After creating the database, we are set to start the installation of WordPress. Now, we are going to download WordPress.

Once the download is complete, extract the zip file to C:\xampp\htdocs\. If you’ve extracted the package correctly, you will see the “wordpress” folder inside htdocs.

 

Select language

Next step is to browse this URL- http://localhost/wordress in your browser for initializing the actual installation of WordPress.

Installation of WordPress starts(select language)

Select language on the screen and continue.

 

Fill database information

Installation of WordPress starts( fill the database information)

 

Fill the name of database which you have created in the above step. In our case it is’ wordpress’. Fill “root” in username field and leave the password field blank, and fill localhost the database host field.

In the last field, you may define a prefix to all the database tables, and submit.

 

Fill in the website information

Fill the website information

In the next step, you are prompted to set the title of your site and fill up user information, like site title, username, password and Email.

Fill up the required fields, and press “Install WordPress”.

That’s it. You have installed WordPress. Now, you are in business.

 

Log in to dashboard

wordpress has been installed

Now, you have installed WordPress locally. You can move on to the dashboard by clicking on the Log in button. check out our free templates and free WordPress themes.