Guide on How to: Install WordPress and Xampp on Windows – 2018

Why do you need to install WordPress on localhost?

Getting a self-hosted WordPress is really painful for beginners out there since you need to spend money and time in learning. Will you buy a car without giving it a test drive? I’m pretty sure you won’t spend thousands of dollars if you haven’t tried it, right? You need to install WordPress on your local machine in order to avoid mistakes before applying it to your online website.

You can explore, familiarize yourself and try some plugins or themes that would fit your needs before uploading it to your website. In this tech tip, I’ll be guiding you on how to install WordPress and Xampp in your windows PC.

Related topic: Know What to Consider Before Blogging

What is Xampp?

  • X (cross-platform) – you can use this on Windows, Linux, or OS X
  • A (http web server) – this will let your computer host your wordpress website.
  • M (MySQL) – a database system, allows you to save your information from a website.
  • P (PHP) – used for PHP development, WordPress is a CMS based on PHP language.
  • P (Perl) –  used for Perl development.

It is highly recommended for beginners because it is the most convenient way to create local server for development. Basically, it contains important components, which are the Apache, MySQL and PHP, in order to install and use WordPress website.

To Install Xampp

  • To download the Xampp, you have to visit Apache Friends.
  • Once you visited their homepage, click the Download button at the top.
  • From the download section, choose your preferred platform whether you’re using OSX, Linux or Windows machine.Since I am using Windows 10, I will choose Xampp for Windows. Note: Any version will do. install wordpress
  • Once you download the Xampp and placed it somewhere on your computer, you may now open and install it. xampp-installation-3
  • A User Account Control warning will pop-up, don’t worry this is normal. Just hit “Yes” button. xampp-installation-4
  • A confirmation will pop-up if you have anti-virus running in the background this may slow the installation. Just hit “Yes” button to continue installation. xampp-installation-5
  • As shown below, you just have to select the component that you will only be needing. To save hard disk space as well. xampp-installation-6
  • You may now select the installation folder for Xampp, I prefer to stay in “C:\”, of course, you can change the folder name. xampp-installation-7
  • Once done installing Xampp, you may now open Xampp as shown below. xampp-installation-9-config
  • In control panel, you have to start the Apache and MySQL module. xampp-installation-10-config
  • Once activated, it will have a color green indicator. Also, it will appear a Port number. xampp-installation-11-config
  • Now, you have to go to your default browser you were using and type “localhost”. 
  • As shown below, click the phpMyAdmin button.xampp-installation-13-config
  • On the phpMyAdmin panel, you have to navigate to Databases. To install WordPress, you need to install the database, this is where all your WordPress files will be saved.  As shown below, I named my database as “testwordpress”,after you create your own, you select “utf8_general_ci” by default then hit Create button. 
  • Congratulations! You have installed the Xampp and created your database. xampp-installation-14-config

To install WordPress

  • You have to download the WordPress files in wordpress.org.
  • Once downloaded, you have to extract it as shown below. wordpress-1
  • As you can see the main folder is “wordpress” which contains such .php files which are important in a website. You have to rename the main folder based on your needs. I renamed my folder as “testblog”. wordpress-2
  • Once done, you have to drag to copy and paste on your Xampp folder inside “htdocs” files. See my screenshot below.  install wordpress
  • To install WordPress, I went back to the browser and typed “localhost/testblog”. As you can see, I used my renamed wordpress files. wordpress-4
  • A welcome homepage will pop-up, just click “Let’s go” button.
  • You can now put your database name that you have created a while ago, as shown below. You can use my default setting and leave it as blank in database password. wordpress-6
  • Just hit the “Run the install” button to continue. wordpress-7
  • On this part, you have to create your username and password. Since you will only use it locally, use an easy to remember the password. install wordpress
  • wordpress-10Congratulations! You have successfully installed your WordPress. It will bring you to WordPress Dashboard. You may now login your username and password. Note: By default, in order to login you have to type “localhost/youwordpressname/wp-login.php” on your browser.

 

 

 

See Related Topic:

Source: Strix Channel

Let me know in the comment section below if this tutorial helped you.

SHARE
Ken is a Web Developer and a part-time Digital Publisher. He's a computer geek and he loves to find solutions in relation to tech problems. He also writes reviews/guides in Windows and Android Platform that will make your life little bit brighter. Don't Settle - Keep Moving - Keep Learning.

LEAVE A REPLY

Please enter your comment!
Please enter your name here