WordPress

How to set up multiple WordPress sites using XAMPP – Security Boulevard

Summary

XAMPP is used by many WordPress administrators to set up WordPress environments. While there are many different case uses, some of the most common use cases are to set up a staging, development or testing environment. As a highly configurable environment, XAMPP offers many advantages, including the ability to set up multiple WordPress sites through virtual hosts.

What is XAMPP?

XAMPP is what is known as a development environment. It includes all of the packages that a PHP dev…….

XAMPP is used by many WordPress administrators to set up WordPress environments. While there are many different case uses, some of the most common use cases are to set up a staging, development or testing environment. As a highly configurable environment, XAMPP offers many advantages, including the ability to set up multiple WordPress sites through virtual hosts.

What is XAMPP?

XAMPP is what is known as a development environment. It includes all of the packages that a PHP developer needs to develop PHP software. At the same time, it provides us with everything we need to set up a WordPress environment.

WordPress needs quite a few things to run. The server or hosting plan, on which all the components are installed and run, and the domain name are two things we are all familiar with. However, the server also needs a number of software packages to run WordPress. These include:

Web Server – The web server is what actually delivers the WordPress website. There are many different web servers available including Nginx, Apache, and IIS, with XAMPP including Apache.

SQL Database – WordPress uses a SQL database to store data. While most are familiar with the MySQL flavor of SQL, in many cases, what you get is MariaDB. It’s important to note that many people and organizations use the terms interchangeably.

Geek note: MySQL was acquired by Oracle back in 2009. Due to concerns with this acquisition, several MySQL developers forked out development to MariaDB. MariaDB has, in the meantime, become one of the most used RDBMS.

PHP – PHP is the language WordPress is written in and is required by WordPress to run. This is required since the WordPress code needs to be executed by the webserver, which we can only do if PHP is installed.

XAMPP includes all of the above in one, easy-to-install package. Instead of installing each item individually, we get one installer that provides for everything, making it that much easier to install all of the components we need without worrying about dependencies and configurations.

On a side-note, XAMPP also includes Perl. While this is not required to run WordPress, more technical WordPress administrators might use this to write scripts.

One other thing that comes with XAMPP, which you might appreciate, is Bitnami for XAMPP. Bitnami is a packaged applications software product by VMware that allows us to install modules such as WordPress as easily as we would install any other software. With XAMPP and Bitnami, we can have a full staging environment up and running within minutes.

Geek note: The X in XAMPP indicates that it’s available for several Operating Systems. In this case, you can download XAMPP for Windows, Mac OS, and Linux.

Why use XAMPP?

XAMPP makes it easy to install everything we need to build a WordPress staging environment in one convenient …….

Source: https://securityboulevard.com/2021/12/how-to-set-up-multiple-wordpress-sites-using-xampp/