Site icon Technotaught

How to Install XAMPP and WordPress Locally on Windows PC

How to Install XAMPP and WordPress Locally on Windows PC

How to Install XAMPP and WordPress Locally on Windows PC

Before how to Install XAMPP and WordPress Locally on Windows PC we should know what is WordPress and Xampp.

What is WordPress?

WordPress is the simplest, most popular way to create your website or blog. There are many Websites on the Internet which is powered by WordPress.

WordPress is a free and open-source content management system based on PHP and MySQL. Which means that anyone can use or modify the WordPress software for free.

WordPress makes building a website accessible to anyone – even people who aren’t developers.

What is Xampp?

Xampp is a free and open-source, cross-platform web server solution stack package. XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P).

It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and deployment purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac, and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well.

How to Install XAMPP and WordPress Locally on Windows PC

Step 1: Download and install XAMPP on your computer

The first step is to Download the XAMPP file and Install it on your PC and open it. If you don’t know, follow the steps below.

How to install XAMPP on your PC?

Go to Xampp page by clicking here. You see this Download Xampp by clicking on the red box Download button.

Xampp page
How to Install XAMPP and WordPress Locally

Just click Next to continue.

You can choose which components to install. To install XAMPP and WordPress, You can click on every component, but this two-component must be there on your PC.

How to Install XAMPP and WordPress Locally

Just click Next to continue.

You can now select which folder to install XAMPP. You can leave it as the default:

How to Install XAMPP and WordPress Locally

On the next screen, uncheck the box and don’t click on any link.

How to Install XAMPP and WordPress Locally

Just click Next to continue.

How to Install XAMPP and WordPress Locally

Just click Next to continue and you are ready to run the install. The install process might take a few minutes:

 

How to Install XAMPP and WordPress Locally

Once it finishes, you can launch the control panel to start working with XAMPP:

How to Install XAMPP and WordPress Locally

Step 2: Start the Control panel and test your server

Every time you need to open the control panel of xampp before you open your server.

Start the Apache and MySQL because you need to connect the internet using port 80 and database using SQL.

And now type http://localhost/ in the web browser of your choice to access the xampp board. This means that your xamp server is working.

 

But now it’s time to install WordPress on XAMPP. So here’s how to get a WordPress site up and running on XAMPP.

How to install WordPress on XAMPP

Step 3: Add the WordPress files

To download WordPress file you need to go to wordpress.org and download the latest version of WordPress.

After Download WordPress.zip. The file is in the compressed mode, you need to uncompressed the file.

How to Install XAMPP and WordPress Locally 1

Go to C:\xampp\htdocs

In this, you can see the copied file of WordPress. You can rename the file also.

Example:- Name of the file is Tech

Here you find the data of the WordPress file.

How to Install XAMPP and WordPress Locally

Step 4: Create a database for WordPress

Next, you need to create a MySQL database for your WordPress install. To do that, launch PHPMyAdmin from your XAMPP control panel:

Go to the control panel and start Apache and MySQL.

xamp-control-panel-running

After the start go to a web browser and type “localhost/phpmyadmin/”f

How to Install XAMPP and WordPress Locally

Then click on Databases at the top:

How to Install XAMPP and WordPress Locally

And enter a name for your database and click Create. Your name can be anything – just remember it because you’ll need it for the next step:

Step 5: Install WordPress locally via the on-screen installer

When you visit your test site, you should see the normal WordPress installer. Remember, your test site link is http://localhost/FOLDERNAME:

Enter the Language and click continue.

The only step where this process will differ from a normal install is the database details. When you get to the database details, enter them like this:

Click on submit. If clicking on submitting this above error is displayed, then go down and check how to Solve an Error establishing a database connection or Continue.

How to Install XAMPP and WordPress Locally

After pressing continue.

Click on Run the installation.

Click on Install WordPress.

After, you see this: The site is experiencing technical difficulties. Reload the page.

Type the username and password as it is

 

Click on login.

This is your Dashboard. Here you can change according to your needs

How to Install XAMPP and WordPress Locally

This is your site.

 

How to Install XAMPP and WordPress Locally

Step 6: How to Solve an Error establishing a database connection

If you see this then follow the command as it is.

This Error establishing a database connection means your database is not connected properly to MySQL. In order to resolve this problem you need to create a user account and connect to WordPress.

To create a user account first go to the browser and type “localhost/phpmyadmin/ “in that go to the User account.

How to Install XAMPP and WordPress Locally

In that go to Add a user account.

How to Install XAMPP and WordPress Locally
How to Install XAMPP and WordPress Locally

How to Install XAMPP and WordPress Locally

After this, the process is the same as Step 5.

To go to the site again 

This way you see how to Install XAMPP and WordPress Locally on Windows PC. I found this tool useful because it is speedier and more effective to create the best websites.

Also View:- How to Install a Bitnami WordPress.How to Install a Bitnami WordPressAlso View:- How to Install a Bitnami WordPressAlso View:- How to Install a Bitnami WordPressAlso View:- 

Also, View- Best android apps all the time

 

Exit mobile version