How to install WordPress On XAMPP

Do you want to install XAMPP and WordPress on your computer to create a local WordPress site? Let me tell you How to install WordPress On XAMPP. First of all, you will need XAMPP for this. XAMPP lets you run a website from your own computer. You will need to set up a web server software (XAMPP), PHP, and MySQL on your computer. XAMPP makes it easy for you to build WordPress websites locally.

Let’s get started.

Step 1: Download and install XAMPP on your computer

First, you need to download and install XAMPP. Go to the Apache Friends website and download XAMPP. It is a large file, about 123 MB. Once you downloaded, lunch the file installer. Depending on your Windows you might get a prompt message about User Account Control. just click Yes and continue. Then you will see the installer screen.

How to install WordPress On XAMPP

Click Next to continue.

On the next screen, you will choose which components to install. You don’t need all components here, only MySql and PHPMyAdmin:



How to install WordPress On XAMPP

Click Next again. On the next screen, you need to select in which folder to install XAMPP. Leave it here by default:

Related Articles

How to install WordPress On XAMPP

On the next screen you will be asked do you want to install Bitnami for XAMPP. You don’t need this, so uncheck the box:

How to install WordPress On XAMPP




XAMPP is now finally ready to install. Click Next:

How to install WordPress On XAMPP

The installation will need few minutes to finish. Then you can lunch the control panel and start working with XAMPP.

How to install WordPress On XAMPP

 

Step 2: Lunch XAMPP panel and start the services

First thing when you start XAMPP panel you need to start Apache and MySql. To start there modules press start buttons in Actions section:

How to install WordPress On XAMPP

Once you start them, their status should turn to green:

How to install WordPress On XAMPP

Now you should be able to test if your local server is working. To do that in your browser go to http://localhost/ :

How to install WordPress On XAMPP

If all went well, you now have a functioning XAMPP server on your Windows PC! Now you need to install WordPress.




Step 3: Add the WordPress files

First you need to go to wordpress.com. From there you need to download the latest version of WordPress.

Then, in Windows, navigate to the folder where you installed XAMPP. Usual that’s C://xampp. Then,  find the htdocs subfolder:

How to install WordPress On XAMPP

In htdocs create a new folder for your site.  This folder name will become the sub-name used to access your site. If you name it test site, you will access your site by going to http://localhost/testsite.

When you create a folder for your site, extract the WordPress .zip file into it:

How to install WordPress On XAMPP

Step 4: Create a database for WordPress

Next you need to create a database for your WordPress site. Launch PHPMyAdmin from your XAMPP control panel:

How to install WordPress On XAMPP

Then click on Databases:

How to install WordPress On XAMPP

Here enter a name for your database and click Create.

How to install WordPress On XAMPP

Step 5: Run the WordPress installer

Now you should see the WordPress installer. Remember, your test site is http://localhost/testsite :

How to install WordPress On XAMPP

Select your language and click Next. On the next screen you need to fill details for the database:

  • Database Name = Name of the database you created in PHPMyAdmin
  • Username = “root”
  • Password = leave blank

How to install WordPress On XAMPP

Finish the rest of install process like normal.

When you complete the process, you should see your new WordPress install running on your localhost:

How to install WordPress On XAMPP

Add a Comment

Your email address will not be published. Required fields are marked *