Install WordPress in localhost or Local system – 2019?
In this article, you will learn how to install WordPress in localhost.
It is important to know the basics of WordPress before buying the domain and hosting for your very special website.
Although WordPress is easy to learn still I will suggest you install the WordPress on your local machine so that it would be helpful for your website.
How would it be helpful? Ok, let me explain…
You can learn the basics of WordPress form your local system without opening your online live website.
Have multiple experiments opportunity.
Get experience with new plaguing and apply those to your online websites.
Now the questions may arise how to install WordPress in the local system, is it possible?
The answer is yes it is possible and it is very easy, so let’s start how to install WordPress step by step…
You need one server to run your site and database so that our local site will communicate with the local database.
In this tutorial, I will use XMPP software it will take care of the server and database.
XAMPP stands for Apache, MySQL, PHP, and PERL (X for the operating system).
Open your browser type google.com then in the search bar type download XAMPP.
Click the first link. it will redirect to next download page.
Then according to your system Operating System download the latest versions. In this tutorial, I will download for the windows system with the latest PHP versions.
Now go to your download path and double-click on the XAMPP home and install it.
During the installation time, it will as the installation path, let it install in the default location.
Alright, now we have installed XAMPP server on our system. Now we have to run the local server for that click on the XAMPP icon and click on the Apache and MySQL button.
Now some of you can get this error, let’s fix this error first.
to fix this error go to your service window(ctrl+r then type service.msc) find SQL server reporting service, right click on it then click on the stop.
Now once again open the XAMPP and click on the Apache and MySQL button, now there has no error.
It happens sometimes due to some other service use the default port 80.
if you’re not able to fix this error just search with the error text I am sure you will get it.
If you are still with this problem I will suggest you uninstall and install it again.
Alright, now our server and database service is ready, so let’s create a database for our very special first WordPress site.
To do that just click the admin button and you will be redirected to MySQL admin panel.
The create the database lets assume database name wp_demo.
Ok, you probably wondering what about WordPress installation! Don’t worry our next step is about to WordPress installation.
First, we will download the latest WordPress, to do that in your favorite search engine type download WordPress and click on this link.
Hear the download link you can download directly.
After download, the .zip file its need to unzip.
Then you need to pest this folder inside the HTDOCS file, you can rename it according to your choice.
Now load the WordPress site in the browser and do the necessary steps.
First, you need to select the language, then give the database name which you have created before and give username root(default username).
Do not change others fields let it takes default then submit.
Now give your site title username, password an email id and press the Install WordPress button.
It will create a file called wp-config where you will get all settings related to your site.
That’s all it is so simple.
If you are not getting this file automatically, then you can directly make this file.
Inside your WordPress file folder, you will get wp-config-sample file just open this file any editor and give database name and username and others keep like as it is.
Login to our site
Next type localhost/your WordPress File name/wp-admin/ (in this tutorial: localhost/WordPress/wp-admin) and login with your username and password.
You will get your site dashboard.
now you can see your site with the default theme.
That’s all now you can play with WordPress.
I hope you will like this article if have any doubts you can leave a comment your comment will give me positive energy and I will be happy, to respond you.
Hi, I am Anilananda Chakrabortty.
Professionally I am a software developer, blogging is my hobby. I have more than 2+years IT experience. I love to reading, writing, programming and always crazy about new technology. I feel blogging is the only way to share experience, knowledge and connect will people.