By installing local server environment on PC or your computer will help you to save your time for testing and developing of themes and plugins.
This will help web designers how to install WordPress locally on their own PC for quick designing purpose and testing purpose.
What is XAMPP?
XAMPP stands for cross-platform, Apache, MySQL, PHP and Perl. It’s is a simple and lightweight solution that allows you to create a local web server for testing purposes. It is free and open source cross-platform web server solution stack package developed by Apache Friends.
In order to run WordPress on PC we need to have XAMPP without local server we can’t run WordPress and we can’t get testing environment.
How to Install XAMPP on Windows 10
After completion of download, you will get an application file that can be run-able. Double click on that application and install.
While installing XAMMP you may receive notification on your screen. Click on Yes and Go for further process.
For better before installing XAMPP on PC you have to disable your active Spyware and Antiviruses.
After running the application, now hit on Next button
In this step, you have to choose the component that you want to install to make your PC local server. To make run WordPress you have to install Apache and MySQL without this two component we can’t run word press on PC. In this steps also hit not the Next button.
Here you have to choose the location where you want to store you XAMPP application, here I selected C drive. You can choose any other drive too…
And finally, hit on Next button for next step.
In this step, you don’t have to do many things just hit on Next button for further steps. After that again you have to go for Next and you have to start control panel of XAMPP and hit on Finish. That’s it.
That’s it… If it shows you any network notification on your computer screen just do Allow Access that’s it…
Now go to web browser and type on the address bar,
localhost/xampp localhost/xampp/index.php localhost/xampp/splash.php
Type which you feel easy and choose the language that you want to set for your XAMPP and finally it will show you the index.php demo page on your screen that’s it…
Create Database to Install WordPress on XAMPP
Before installing WordPress on XAMPP you have to create a database on mysql through phpmyadmin. Without creating database you can’t install WordPress. Database is used to store the information about the WordPress plugin.
First open your local host on you web browser by typing localhost/xampp or you can directly go to phpmyadmin by typing localhost/phpmyadmin
After that, you will get database button on your phpmyadmin screen.
That’s it for creating a database on phpmyadmin….
Now it’s time to learn about WordPress
Download and Install WordPress
To install WordPress first of all you need to download the latest version of WordPress from the site.
In order to make WordPress run-able, you have to extract that .zip file.
You have to extract that .zip file to XAMPP/htdocs folder if you don’t extract that WordPress into htdocs it won’t’ work. So you have to keep this thing on your mind while installing WordPress.
That’s it for extracting the WordPress in XAMPP now to setup WordPress again you have to follow below steps.
Now go to your web browser and now type on the address bar,
That will show you the localhost/wordpress/wp-admin/setup-config.php address on your address bar.
Now hit on Let’s go button…
Here you have to put your created database name we recently created that through phpmyadmin take a look above pictures…
Database name: mywordpress
for username here we are using default user name known as root and it doesn’t have any password so leave it blank
Username : root
Password : blank
for database hot is it’s localhost so leave it don’t change and table prefix you can change as per your need and now finally hit on submit button.
Now finally it will show you the option to install WordPress on PC with XAMPP. In this step, you have to click on Run the Install.
it will show you the welcome message on top of the page and now you have to fill the information of your offline site…
And after filling the information you can directly click on the Install WordPress button.
Here you have to login in your WordPress recently created offline site. You need to remember your password that’s it…
Just hit on login button and type password and go for login that’s it you will get your dashboard on your screen…
For your WordPress offline site, you can follow the above steps that are indicated on the above picture…