https://idea-hack.com/en/blog/19524/
[2018] How to install WordPress local development environment using XAMPP

[2018] How to install WordPress local development environment using XAMPP

Do you need a local development environment for WordPress? The production environment of WordPress is easy with the effort of the rental server company, but the local development environment is not so. In this article, we will explain how to build a local development environment using XAMPP.

What is XAMPP?

Originally, in order to build a local development environment on my PC and operate WordPress site, it is necessary to set up Web server software (Apache), PHP, and MySQL on the computer.

PHP is a programming language and MySQL is database management software. Both are required to run WordPress.

To install this separately, you have to manipulate the command prompt (Terminal on Mac) and hit the code.

This is not only very difficult for beginners, it also causes the performance on the PC to rise by hitting the wrong command.

Using XAMPP makes it easy to build a WordPress web site locally, so it is very popular as a means of building a local development environment.

It can be used on Windows, Mac, and Linux based computers.

Install XAMPP

Here, we will install using Windows. Screen display may differ slightly from Mac, but the process is same.

official site ofxampp

First, download XAMPP. our official site is here.

DownLoad XAMPP

start setup

Let’s start up the setup screen. Since the first screen is just a start screen, click “Next”.

select language

Language settings are required. This is the language setting of the installation guide.

componetns

Next, the selection screen of the component to be installed appears. There is no problem remaining as default.

install foleder

The installation directory will be asked on the screen. Specify the installation location arbitrarily, or if it is good by default, and  just complete the installation.

bitnami information

This is just a marketing information.

Install process

Installation begins.

complete install

When installation is completed, press “Finish” while checking “Do you want to start the Control Panel now?”, The control panel will start up.

Start Apache and Mysql
Start Apache and Mysql

When the control panel opens, let’s click on Apache and MySQL. If both are orbit it is complete.

Let’s introduce WordPress site using bitnami

Now you have an environment to run Apache and MySQL on your PC.

Next will be the introduction of WordPress. Until a while ago, I downloaded it directly from WordPress.org and had to do various things, but now bitnami provides modules, so I will use this time now.

add-on
add-on

Select WordPress from bitnami’s Add-on page. Then the details screen appears and you can download WordPress installation package.

Download
select-language
select-language

When you start the package, the language selection screen appears.

welcome
welcome

As the Welcome dashboard appears, click “Next”

install folder
install folder

Select the installation folder.

Mail Support

you will be asked  about e-mail support, but since it is basically unnecessary. If you not need, just click “Next” without checking.

admin info

Set the necessary information for login.

blog name

Decide the name of the blog and click “Next”

bitnami-cloud
bitnami-cloud

This is a service introduction for those who want to migrate this local development environment directly to the cloud environment. In this case, uncheck and click “Next”.

install-process
install-process

Installation will begin.

Although it may differ depending on the installation directory difference etc, basically it should be accessible with “http://127.0.0.1/wordpress”.

Summary

Many people make all changes in the production environment directly, but there are cases where it can be irrevocable when the site is broken.

So let’s verify the habit of doing it in the local development environment.