XAMPP Tutorial- Installation of WordPress Using Xampp

The first step in the process of development of any WordPress-based website is to install the WordPress on the local host. The local host can be a Windows or Mac-based system. In order to install WordPress locally on your system, you need a localhost server app. Many alternatives to localhost server applications are available on the internet. As mentioned in the earlier article, some of these are XAMPP, MAMP, WAMP, and LAMP. Before discussing the process of installation of WordPress for the localhost, let us discuss the advantages of the same:

Advantages of Using WordPress for Local Host

WordPress is the most easily available tool for developing and testing websites locally. It is a free and open-source platform for managing content and the creation of webpages. The benefits of using it for a local host are discussed below:

Adaptable and Time-Saving - It takes a considerable amount of time to build a WordPress Website from the initial point. Opting the conventional way to set-up and design WordPress on a live server would take plenty of hours to be invested online to get your website working. Instead, a user can use local installation and an internet connection for deploying the website on the global web.
Fix Downtime Problem - To make changes to a live website, such as changing the subject, modifying the content, adding functionality, the required downtime can affect the reputation and robustness of the website. Thus to improve the uptime, the user can test all the changes comprehensively and can apply them to the website online once satisfied.
Enhances Development - Installing WordPress locally provides the convenience to test the plugins and functionality of the webpages rapidly.

Prerequisites to Install WordPress

There are certain conditions required to be fulfilled before installing WordPress to the Local Host. These conditions are as follows:

A server-side scripting language like PHP.

A commonly used web server application, like Apache.

A database management system like MySQL, which is relational.

All these can be installed individually but are available as a stack package called XAMPP. XAMPP includes all three components used for installing WordPress in the system. The process of downloading and installing XAMPP is already discussed in previous articles. On successfully installing XAMPP and starting Apache and MySQL modules in the Control Panel, this is what appears on the screen.

Steps to Install WordPress

STEP 1- Open the web browser and visit the website https://wordpress.org/download/ to download the WordPress application on your system. It is the official website for downloading WordPress. Click on “Download WordPress 5.4.1,” and the file starts downloading automatically.

STEP 2- Once the file is downloaded, extract the folder as it is present in a zipped form.

STEP 3- In the next step, copy the extracted folder to the XAMPP registry.

Follow the sequence, as shown in the below image:

STEP 4- Open any web browser of your choice and type “localhost/Wordpress” in the tab. This should be done when the XAMPP is still running in the background. The screen which appears on the web browser is shown below.

STEP 5- Before moving to the next step, we need to create a database for WordPress to function. This is done by clicking on the “Admin” button next to the MySQL Module. This redirects you to the http://localhost/phpmyadmin/ page. Click on the “Databases” column.

STEP 6- Name your database folder and then click “Create.”

STEP 7- Move back to the screen, where we have stopped in step 5. Click Let’s go. Fill all the details asked in the input area and submit. After this, click “Run the Installation.”

STEP 8- For the final step, chose a title for the site, set the password, and put an email address to WordPress.

STEP 9- Now, you can log in to your WordPress Dashboard and start developing and testing.

The local website is ready to be run and tested. The installation process of WordPress on the local system is pretty easy to follow. Other local host apps can also be used to use WordPress.