Home › Website Development › Install WordPress 5.x in Windows Xampp Server

How to install WordPress 5.x in Windows Xampp Server

WordPress in Windows 10 Xampp Server Video Tutorial

In this article, we are going to discuss installation of WordPress 5.x in xampp server.

WordPress is an open source content management system which based on PHP and MySQL. You can work with it both online or offline. However, managing WordPress offline requires you to install a compatible web server and the package as well. Below are instructions to install WordPress on XAMPP .

Installing WordPress 5.x on local host

Installing WordPress! 5.x on local host is straightforward but can be tricky the first time you attempt it. So for this step we’ve provided instructions on how to do it right from scratch.

First, let’s make clarify the meaning of ā€œLocalhostā€. A localhost is basically the same type of web server like Hostinger, Siteground etc but installed on your own computer.

Now, in order to run WordPress!, you need not only a web server, but also 2 more things: PHP script interpreter and MySQL database system. It sounds complicated but thankfully, there is a single package called XAMPP with all the elements included.

Let’s install XAMPP on your computer:

  1. Download the XAMPP installer package at  https://www.apachefriends.org/index.html
  2. Run the installation file as you do with regular software and follow the step by step instructions.
  3. Open ā€œXAMPP Control Panel Applicationā€ and start ā€œApacheā€ and ā€œMySQLā€.
Xampp Control panel
Xampp Control panel

That’s it, your localhost is now installed. You can check if it works or not by typing the address:

ā€œhttp://localhostā€ in your web browser. You should see a page as illustrated below.

Xampp Server Home Page
Xampp Server Home Page
  1. Create a database in phpMyAdmin.

Type http://localhost/phpmyadmin on your address bar. It’ll lead you to the phpMyAdmin Home Page.

5. Next, click Database in the toolbar as illustrated in the following

phpMyAdmin Home Page
phpMyAdmin Home Page

6. Next, enter the database name, In my case it is wordpress and then click ā€œCreateā€

phpMyAdmin Create Database
phpMyAdmin Create Database

Requirement check before installation:

Note: If your existing xampp is in older PHP version(<7.3) , take  a back up of data folder in path C:\xampp\mysql\, also rename   C:\xampp folder to some other name, then install new xampp with higher PHP version. place old data folder content in the newly created C:\xampp\mysql\data folder. so you can see all databases in your new xampp mysql.

Increase max_execution_time value into higher values in php.ini.

You can edit php.ini file from xampp control panel by click on config button as shown below.

Xampp Config
Xampp Config

Then restart apache using xampp control panel. If you are not updating execution time , there is a chance to stop your installation process in the middle.

Note: Remember user name and password of your localhost. For Xampp Server, default username is ā€œrootā€ and has no password.

Installing WordPress!

  1. Download the WordPress! 5.x full package at https://wordpress.org/
  2. Create a new folder entitled ā€œwordpressā€ in folder ā€œhtdocsā€ in XAMPP folder. Normally it will be located at ā€œC:\xampp\htdocsā€
  3. Unpack the downloaded package file. Now, Copy and Paste the all files and Folders of Unpacked Package into the folder ā€œwordpressā€ which we had created in Previous step.
  4. Go to the URL ā€œhttp://localhost/wordpressā€
  5. Follow all steps in wordpress! installation:

 Choose a language

  • Select Language: Choose your own language in the drop-down menu, for example, ā€œEnglish (United States)ā€
  • Click ā€œContinueā€œ
WordPress Choose Language
WordPress Choose Language

Provide your database details

  • Database Name: enter the name of the database you created ā€œwordpressā€
  • Username: Enter ā€œrootā€
  • Password: let it blank
  • Database Host: Enter ā€œlocalhostā€
  • Table Prefix: let it generate automatically
  • Click ā€œSubmitā€œ
WordPress Database Setup
WordPress Database Setup

Run the Installation

  • Click the ā€œRun the installationā€ button to begin the WordPress installation process.
WordPress Run The Installation
WordPress Run The Installation

Information needed

  • Site Title: Enter the name of your site
  • Username: Enter ā€œadminā€ as default
  • Password: Enter your own password
  • Your Email: Enter your valid email address you want to use for your site
  • Search Engine Visibility: Tick the box, If You discourage search engines from indexing this site.
  • Click ā€œInstall WordPressā€œ
WordPress Information Needed
WordPress Information Needed

Installation Complete

Now you have your first WordPress! site installed successfully! It’s not too hard, right?

WordPress Installation Complete
WordPress Installation Complete

Log In to Your WordPress Localhost Website

  • Type localhost/wordpress/wp-admin on your address bar. It’ll lead you to the login page.
  • Input the previously Entered username and password to log into your windows WordPress localhost website.
WordPress Login Page
WordPress Login Page
WordPress Admin Panel
WordPress Admin Panel

Conclusion:

This article covers the simple way of installing the WordPress in Your Local host. You can also use this process for installing Drupal and Joomla in your Localhost.

If you have any query regarding to this article you can ask through comment section.

Similar Posts

Leave a Reply

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