Hello Friends! The topic of this post is how to install XAMPP and run WordPress on a local computer. Now you’ll learn how to quickly and easily install WordPress locally on your Windows PC using XAMPP. You will be surprised how this all just happens.
In short, if you want to run your WordPress website or blog in a more relaxed environment, then setting up WordPress on localhost, such as XAMPP, is the best solution you have. It gives you the freedom to customize themes, plugins and plays an important role in your workflow.
Table of Contents
Why install WordPress locally?
- Introducing WordPress: In order to get to know WordPress CMS better, you need to get some initial knowledge about the content management system. And WordPress local installation will help you with this. You can learn in your way.
- Testing: By installing XAMPP on a local server, you can safely test updates, settings and make any changes to the site.
- Preparation: Your local WordPress website can be used as an intermediate WordPress site. After making the necessary changes, it can be transferred to your hosting;
- Development: The local version of WordPress is an ideal environment for creating, modifying WordPress themes and plugins.
- Offline access: WordPress locally does not require an Internet connection. Thus, you can access an offline blog/site, even if you have cut off the Internet.
- Security and privacy: The local installation of WordPress is available only to you on your computer. This is significantly more secure than a website that is installed online.
- Speed: The local WordPress site on PC loads faster than their online counterparts.
- Become Master: If you are a new web developer or pro doesn’t matter. You can learn WordPress on your own computer without the Internet and whatever you do it won’t affect your real website.
Ah, I forgot the most important thing. You do not bear any costs. All for free, for free. As you can see, installing WordPress locally provides many benefits. And you will see that installing WordPress on a local Windows computer is a relatively simple process. Well, read a step-by-step guide on how to run a WordPress site on your local computer using XAMPP.
Install XAMPP:
XAMPP is an easy way to run your WordPress site/blog locally. XAMPP is the most popular PHP development environment.

XAMPP is a cross-platform web server assembly containing Apache, MySQL, a PHP script interpreter, Perl programming language and a large number of additional libraries that allow you to run a full-fledged web server.
The web server is a completely free and easy to install Apache distribution containing MariaDB, PHP and Perl.
XAMPP is open source to be incredibly easy to install and use.
To run WordPress, it is recommended that your environment should include:
- Apache
- PHP 7.3+
- MySQL 5.6+ or MariaDB 10.0+
Each of these applications can be installed separately on your computer, however, it takes a lot of time. In contrast, XAMPP installs everything you need to run WordPress. In addition, you can use it to create local installations of other website solutions. For example, Joomla, Drupal, PrestaShop, phpBB, OpenCart, and other CMS.
The name XAMPP is an abbreviation for cross-platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). XAMPP is cross-platform because it works on several operating systems Windows, Linux, Mac. The four applications installed by XAMPP offer many opportunities for website owners and developers.
How To Install XAMPP:
At first download the XAMPP software from XAMPP Official Website. As I will Show install WordPress for Windows Computer so download XAMPP for Windows.

In the example, I will use the version of XAMPP PHP 7.4.3 for Windows. After downloading the file to your PC, start the installation process by double-clicking the mouse cursor.

If your computer show this message just click ok to continue.

Click next to continue.

In the next step, leave the selected components by default. Feel free to click Next.

Then, you need to select the location of the folder to install XAMPP. You can change your work folder But I want the default. In order not to get confused later, it is better to leave everything as default.

Here you can unmark this one Then Click next again.

Now XAMPP is ready to install. Just click next to install.

Now XAMPP should start installing. It will take some time depends on your computer. So be patient and wait to finish installing.

XAMPP may be blocked by antivirus software, so be sure to grant it access as a private network.

Congratulations, XAMPP is installed. Now you can launch the XAMPP control panel on the Windows desktop. Click the Finish button.

XAMPP is only available in English and German languages. Choose your preferred language. Then click Save.
If you can find Xampp go to the Start menu and write XAMPP. I hope you won’t face any problem.
If you also can’t find XAMPP software after installing then go to your C Drive then XAMPP folder then here you can find the XAMPP icon to start your XAMPP control panel.
The XAMPP control panel will open. On the left, you can see the components that you have installed. On the right, you can find the buttons: Start, Admin, Config, and Logs. As a rule, the administrator action buttons will be unavailable until the corresponding modules are launched.
On the right are links to useful features such as the control panel settings area, Netstat utility, command shell, file manager, and services.
Now, you need to start Apache and MySQL services. To do this, you need to click on the Start buttons for each module.


After a couple of seconds, your local XAMPP server will be ready to use.
For reference: XAMPP will appear on the Windows taskbar. By right-clicking the XAMPP icon, you can turn modules on and off. You can also exit XAMPP:
Now, you need to check whether your server is working correctly by entering http://localhost in the URL bar of your browser. When you do this, you should see the XAMPP welcome page, which contains the technical details of your installation:

Now You have successfully installed XAMPP on your computer. It’s time to install WordPress.
How to Install WordPress:

There are two ways to install WordPress With XAMPP.
1: Install Bitnami WordPress
You can download the Bitnami WordPress module from the page Bitnami Modules for XAMPP. Click on the application to start the download, and then follow the installation instructions. It is available for Windows and Linux. And you can find here other applications also.

This process is easy and time-saving. After downloading the file just double click the software and follow the instructions.
Install WordPress Manually:
Well, now I will show you how to install WordPress manually on your local computer with XAMPP.
Now go to WordPress official Website and download the WordPress file.

Click Get Started

Then save WordPress file on your local computer. And go where did you save the file. I saved my file to the download folder.
Then unzip it and rename as “wordpress”. copy the unzipped wordpress folder and go to your C drive. And find the XAMPP Folder. Click the xampp folder.

Now You can see “htdocs” folder. And click on it.

Then paste your WordPress file or you can move also.

Now open your browser. Such as Mozilla Firefox or Google Chrome. And write http://localhost/phpmyadmin/ Now you can see all your databases.

For installing WordPress we have to create a new database. So click “New”. Upper left corner.

Now give a database name “wordpress” and click “Create”. Your database should be created.

Now go to http://localhost/wordpress/

Your WordPress is ready to install. Now choose your preferred language. And click “Continue”

Click “Let’s go”

Now write the database name. I have given my database name as “wordpress”. If you change your database name then provide that.
Then username for localhost is generally ‘root’ if you not change.
And we didn’t set any password for the database so keep this field empty. And click “Submit.

Now click “Run the installation”

Now give the site title as you wish. Set Username. and give password. Click the ‘Install WordPress’

Congratulations! you have successfully installed WordPress on your local computer. Now click ‘Log In’ to go to your admin panel. or visit http://localhost/wordpress to see your website.

This is the homepage of your local website.

And this is your WordPress admin panel.
Video tutorial for installing wordpress
In this tutorial, I have tried to show you everything about installing WordPress on your local computer. I hope it will help you.
ooowww nice