• Days
  • Hours
  • Minutes
  • Seconds
Wpwax Offer
Save up to 35%
on any purchase
Grab the Deal
blog left design shape
How to Use WordPress with XAMPP

How to Use WordPress with XAMPP Effortlessly

Having a website built with WordPress can open up innumerable opportunities in front of you, as WordPress powers over 40 percent of all the websites in the world. What if you get an easy way of creating a WordPress site on your own. If you have ideas on how to use WordPress with XAMPP on localhost for testing or other experimental purposes, you will be able to gather a fantastic experience of using a full-fledged WordPress website.

Considering the benefits of using a locally installed WordPress website, in this guide, we will show you an easy way of installing WordPress on XAMPP on a Windows Operating System-supportive computer. So, without further ado, let’s get into the details.

What is XAMPP?

How to use WordPress with xampp

Some vital elements are necessary to set up a WordPress on local computer. These include Apache web server software, programming languages such as PHP and Perl, and database management software MYSQL. However, It becomes a time-consuming and arduous job to install all these elements separately.

XAMPP can help you greatly to make this process easier. It’s an acronym for cross (x) platform, Apache, MySQL, PHP, and Perl that allows you to install all these elements effortlessly. XAMPP is free and open-source software, and you can quickly learn how to use it explicitly. It’s very lightweight and contains all the components necessary to set up a localhost server in a single extractable file. 

How to Use WordPress with XAMPP- A Step by Step Guide

Installing WordPress on XAMPP on a localhost server can be done effortlessly by following a step-by-step guide. Let’s proceed on.

Step 1: Install XAMPP on your Windows computer 

To start the proceeding, first, download the XAMPP from the apachefriends.org (it’s a dedicated project to spread the apache server and home for XAMPP). Now, it’s time to download the XAMPP. Since you are running Windows as the dedicated operating system, click on XAMPP for Windows to download the file for running.

How to use WordPress with XAMPP: XAMPP installation.

Once you have installed the XAMPP for Windows operating system, it’s time to run the XAMPP on your computer. There are five different ports here. But for the technical purpose, you will start only two of them, Apache and MySQL, because both are essential to running WordPress.

How to use WordPress with XAMPP: starting Apache and MySQL.

Step 2: Generate a database

Once you have successfully installed XAMPP on your computer, it’s time to create a new database. To do this, go to your browser and write localhost/PHPMyAdmin. Next, click on New, located on the left side. Now, Provide your new database a name in the Database name box, then press the Create button. Your new database will be created.

How to Use WordPress with XAMPP: Database creation.

Step 3: Download WordPress 

Next, download WordPress from the official WordPress website. Unwrap the zipped WordPress file when the download is completed. It’s up to you whether you rename the file or keep it as WordPress. 

How to Use WordPress with XAMPP: Download WordPress

After downloading and unwrapping the WordPress file on your computer, we have set the unzipped WordPress file name as sitetest.

How to Use WordPress with XAMPP: Unzip file.

Step 4: Install and configure WordPress

Next, head over to the XAMPP directory and find the htdocs folder. Now, paste the newly named unzipped WordPress file ‘sitetest’ there.

How to Use WordPress with XAMPP: paste the file.

Now, you are going to start configuring WordPress. To do this, move onto your browser and write localhost/sitetest (it’s because we have renamed the file) and hit ‘Enter’ button of your keyboard . Next, select the language for your new WordPress website. Here, English is set as the default language. Now, click on Continue.

How to Use WordPress with XAMPP:  Set the language.

Right now, you have landed on a page that reminds you of some information that will be needed later. Click on Let’s Go after reading all the information carefully.

How to Use WordPress with XAMPP:  Read and click 'Let's Go'.

Once you have landed on the next page, provide your database name in the Database Name box. Give the Username as root and leave the Password option blank. The other two options will remain the same as the default. Lastly, click on the Submit button.

How to Use WordPress with XAMPP:  Database connection details.

Now, you are about to start the WordPress installation process. So, click on Run the installation.

How to Use WordPress with XAMPP:  Run the installation.

Step 5: Provide admin information to finish the WordPress installation process

In this step, you must provide all the required Admin information to finish the WordPress installation process. Once you are done, click on Install WordPress shown on the footer of the page.

How to Use WordPress with XAMPP: Install WordPress.

You will be redirected to the WordPress login success page if you have provided all the details correctly. It shows the Username and Password you have given to your site. Finally, click the Login button to log in to your newly created WordPress local site successfully.

How to Use WordPress with XAMPP: Login to local site.

That’s how you can effortlessly use XAMPP with WordPress.

Final Words

When you have clear and practical ideas on how to install WordPress with XAMPP, you can create as many testing sites as you need in the localhost server. It will bring a large number of opportunities in front of you to use features and functionalities like plugins and themes to extend the functionality of your local WordPress website.

In this tutorial, we have shown you the easiest way on how to use WordPress with XAMPP locally in a beginner-friendly way. However, if you have any queries regarding this article, feel free to raise your voice in the comments section.

If you liked this post, don’t forget to subscribe to our blog so that we can notify you once any post is published. Finally, you can also follow wpWax on FacebookTwitter, and LinkedIn for more exciting news, offers, and product updates.

URL copied to clipboard!
Written by

Abdullah Al - Harun

Abdullah Al Harun is a technical content writer at wpWax and a digital marketing enthusiast. Apart from tech, he enjoys reading books on different aspects of communication, journalism, science, and arts. On his time off, you will find him playing cricket with his teammates.

URL copied to clipboard!

Leave a Reply