Local WP and XAMMPP Install Guide
Local WP and XAMMPP Install Guide
ThemeIsle content is free. When you purchase through referral links on our site, we earn a commission. Learn More
Want to install XAMPP and WordPress – aka. install WordPress locally? This is a great idea if you
want a development site that can be used for testing or other purposes. XAMPP lets you run a
website from your very own computer. And once you get it set up, you can spin up a new
WordPress install with just a few clicks.
But to actually install XAMPP and WordPress can be a little tricky, so you might need a helping
hand.
We’ve already talked about some of the benefits of a local WordPress testing site, so I won’t
belabor that point. Instead, I’m going to assume you’re just here for the guide.
Note. If you need a more general guide on installing WordPress in other environments – not
just locally, but on live servers as well, then please hop over to this guide of ours.
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 1/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 2/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Once the download finishes, run the file you downloaded to launch the XAMPP installer. If you’re
running antivirus software, you might get a warning like this:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 3/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Just click Yes to continue. Depending on your Windows configuration, you might also get a prompt
about User Account Control (UAC). Just continue through that prompt as well. Once you get
through all of the prompts, you should see the standard installer screen:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 4/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
On the next screen, you can choose which components to install. To install XAMPP and WordPress,
you do not need all of the components. In addition to the required components, all you need
are:
MySQL
PHPMyAdmin
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 5/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Again, this is all that’s needed to install WordPress locally. Uncheck everything else and click Next.
You can now select which folder to install XAMPP in. I always leave it as the default:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 6/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
On the next screen, you’ll get a prompt asking you to install Bitnami for XAMPP. You do not need
this to install XAMPP and WordPress, so just uncheck the box:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 7/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 8/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 9/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Once it finishes, you can launch the control panel to start working with XAMPP:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 10/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Apache
MySQL
You can start both modules from the XAMPP control panel:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 11/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Once you launch them, you should see their status turn to green:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 12/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
And now you should be able to test that your local server is working by going to
http://localhost/ in your web browser of choice:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 13/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
If all went well, you now have a functioning XAMPP server on your Windows PC! But now it’s time
to install XAMPP and WordPress. So here’s how to get a WordPress site up and running on XAMPP.
Then, in Windows, navigate to the folder where you installed XAMPP. For me, that’s C://xampp . It
should be something similar for you. Then, in that folder, find the htdocs subfolder:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 14/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
In htdocs, create a new folder for your test site. This folder name will become the sub-name used
to access your site. For example, if you make the folder testsite , you’ll access your site by going
to http://localhost/testsite .
Once you create the folder, extract the WordPress .zip file you downloaded from wordpress.org
into it:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 15/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 16/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
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:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 17/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Unlike installing WordPress on a live web server, when you install XAMPP and WordPress, you
don’t need to worry about creating a database user.
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 18/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
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:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 19/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Then finish the rest of the WordPress install process like normal.
Once you complete the process, you should see your brand new WordPress install running
perfectly on your local host:
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 20/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
That’s because it has a different hardware configuration than your live site. So just because
something works or doesn’t work on your XAMPP WordPress install doesn’t mean it will be the
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 21/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
Instead, using a subdomain or your host’s staging service are much better ways to create a
WordPress staging site.
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 22/31
1/8/2021 How to Install XAMPP and WordPress Locally on Windows PC
FREE GUIDE
By COLIN
Themeisle Contributor
70 Posts
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ 23/31