How to install WordPress on xampp Locally – Learn How to set Up a WordPress website on PC in windows XP, 7, 8 and Vista
In this article, I will give the answer of some most trending question for WordPress installation like ” How to install WordPress on Xampp “, How to configure and run WordPress site on PC using Local Host, What is the best software to make our system a server.
But first I want to tell something about WordPress CMS. WordPress is the most used CMS (Content Management System) over all the World. Almost all Web developers now prefer to use it because of it efficiency and easiness. It is a server based software. That means you must need a server in order to run this software. That’s why we use Hosting services for Websites. In many cases or due to security reasons many wordpress developer and clients prefer it to use this CMS on local Computer. Yes, you can do this but it is not so much easy.
As I told you, you must need a server. In order to use it on your local computer, we must need to make our PC configuration as like a server. There are many software on the internet which can do this. Xampp is the best and preferable. you may also use Wamp and Lamp but I prefer to use Xampp instead of another one.
SO, in this article we will learn “how to install and configure WordPress on Xampp Locally on your PC in all windows like XP, 7, 8 and vista” :). You may also like to read How to Move a Website from One server to Another.
How to install WordPress on Xampp in Windows XP, 7, 8 and Vista [Beginners Guide]
Before starting the step by step guide to install and configure it into your PC, You need to download Xampp for Windows as well as Latest version of WordPress. you can Download Xampp easily from any site according to your Operating system. Download WordPress latest version from here Download WordPress for Windows.
Installing and Configuration of Xampp on Windows Operating System:
After Installing Xampp Server on your Computer, you need to run this software in order to make your Computer as a server :) . You can do it just by clicking on xampp software icon on your Desktop. After Clicking on it, a pop-up box will appear having some option to run. In order to make your local computer a server, you must need to run Apache server, MySQL server. For more detail see the bellow Screenshot :).
In many cases, your Apache Server did not work because the required port is already in use. This is because of Skype running on your PC. By default, the port 81 is used for data communication and it is reserved for skype if you have installed on your PC. Don’t worry I have a solution to change Apache port in order to work fine :) you need to follow the step in mention in this article how to Change Apache Port 8080 – Apache not running in xampp. In order to make sure your Xampp is working correctly or not, Just open the web browser and type local host address in the address bar which is “localhost“.Note: if you changed the Port of Apache server by using above method then your localhost address is “localhost:8080“.
If Xampp page opens correctly that means the server is connected and working Okay :).
Installing WordPress on Local Host:
After downloading the Latest WordPress version, you need to add it into your localhost. When you install Xampp server on your PC. It automatically makes a folder named as Xampp in the installed drive or partition. If you install it into C drive then it will be located on C:// files. Go to the xampp folder and look for the folder named as “htdocs“. This is the root folder of your server. Which means you must need to add all pages and folder related to your website in this folder in order to run a site correctly. Copy the WordPress folder and paste it into this folder. make sure the have extracted the WordPress folder if it is in zipping or rar form.
In order to check your WordPress files are successfully added into this folder and work properly. Just go for “localhost/wordpress” on the browser. for the user who change Apache port got for “localhost:8080/wordpress“.
Create Database for WordPress installation in Xampp:
This is the last step we are almost done :). In order to run WordPress on the local host or any other Hosting service, we must need to add a database. In the last step when you check working of WordPress by gong to its address you will see it ask you to install and configure WordPress. you may also like to read How to Create Drop Down Menu in HTML CSS style.
- Select the desired language and click on continue button.
- On the next page, it will ask you for the database name, server name, username, Password etc.
How to Create Database in Xampp:
- go to local host
- Click on php my admin under the tools section from the left navigation sidebar.
- You will take to php my admin page. Here you can create a new database by clicking the new button on left side.
- Add the name and click on create a database.
- Now click on the created database from the list of databases under the database section. (just bellow from new button).
- Now add of the database into your WordPress installation. In xampp, your by default username is root and there is no any password.
- In my case, I filled the fields as look like bellow.
Recommended Article to read:
how to create simple php forum or Discussion Board.
Make validating input form using JavaScript in HTML.
- In the next step, it will ask for site details like its name, title, Admin name, password and email. Put the details as you want.
That’s all now you have successfully created and configured a WordPress based site on the local host. so, this is my way of how to install wordpress on xampp in windows operating system I hope you like this tutorial. Bellow is the video tutorial in Urdu / Hindi for this article. Watch it and like and share it and enjoy it :).
Fell free to ask any question regarding this tutorial. If you want to learn PHP then start from How to create a simple website in PHP tutorial class 1. Don’t forget to leave your views after visiting our sites and watching our video tutorials. If you want o learn any web language like HTML, JAVA SCRIPT, PHP, CSS Etc feels free to ask us. we will provide you free tutorial and resolve all your problem regarding this. You may like to read how to create menu in php Dynamically – php navigation.