In this article, I will guide you to install localhost on your computer using XAMPP software. This is the best localhost creation software available today. XAMPP has a lot of great features to help you learn WordPress as well as PHP programming.
There are many software to help you create localhost, this article I will show you how to create localhost with XAMPP. This is a very good software with many useful functions, most importantly, it is extremely easy to install and use.
Table of Contents
Instructions for installing localhost with XAMPP to learn WordPress
Installing localhost is the job you should do if you want to learn web programming with PHP. Choosing the software to use is equally important. Choosing the right software depends on the preferences of each person.
See more: Software to help create localhost
To do this tutorial, you must first download the latest XAMPP installation to your computer.
Download the XAMPP installer
You open your browser and go to the address https://www.apachefriends.org/download.html. You can also go to Google and type search for the word XAMPP, then go to the first result.
In the download page there are many versions compatible with different operating systems. Depending on your computer, choose the appropriate installation version.
Install XAMPP
After you have finished downloading the installer to your computer, open this file and just click OK or Next to bring it to the screen like below.
If you don’t like to use one, uncheck that one. However, you should use services like: Apache, MySQL, PHP, phpMyAdmin. But if your computer has a relative configuration, you should select all and click Next to continue the installation.
The XAMPP installation will take some time, if it’s fast, it’ll be done in a few minutes.
Test localhost settings with XAMPP
After you complete the installation, open XAMPP and you will see the control panel.
You click Start 2 Apache and MySQL services to activate the system. You open the browser and access the localhost address. Now if your installation is successful, you will see a row of languages. Please select the default language is English (English) for ease of use. After selecting the language (if any), you will be able to access the homepage of XAMPP on localhost like the image I attached at the beginning of the article.
See more: Configuration required after installing XAMPP
After installing XAMPP, you should check out the article I sent above to configure the necessary things. In the process of using, if there is any error, you just need to copy the error message in the log frame and search on Google to have a solution.
WordPress installation directory on XAMPP
Now, open the folder you selected earlier to install XAMPP. Inside this folder will contain a lot of subfolders and files, you just need to care about the folder htdocs. If you want to create more projects, just copy your folder inside the htdocs folder and go to your browser’s address bar by the folder name you set. For example, I downloaded the WordPress installer and named the folder blog. Now copy the blog folder inside the htdocs folder. You open the browser and access the blog in the form http://localhost/blog.
Create database on localhost with XAMPP
In order for your WordPress blog to work, you need to create a database. WordPress is a source code coded in PHP, running on the MySQL database management system. In XAMPP, you create a database very easily and quickly.
To create a database, open your browser and access http://localhost/phpmyadmin or you just need to go to localhost, then click on the link phpMyAdmin on the menu bar on the left side of the screen. In the clip above, I have very detailed instructions, please watch it carefully.
Conclude
Through this article you have learned how to install localhost with XAMPP. This is free software but the utility is very much. Everything is fully set up, you just need to download it to your computer and install it. After installing XAMPP, you should see more installation articles with necessary information. It will help your localhost run more smoothly. Good luck.