WordPress can be installed locally in our computer to test plugins or configurations before moving to a live or production server.
¿What is required?
These are the elements that you will need to install locally.
- A PHP development plataform. This is a piece of software that will help you display your site in a browser. In this example I will use XAMPP, which is a development environment which includes:
a. Apache Web Server
b. MariaDB Database Server
c. PHP, the programming language used by WordPress
XAMPP can be downloaded here: https://www.apachefriends.org/index.html
- The WordPress installer. WordPress can be downloaded from free from the website: https://wordpress.org/
XAMPP, PHP development platform installation.
I will install WordPress locally in a Windows 10 Box.
The XAMPP installer can be found in https://www.apachefriends.org/index.html
Let’s select the latest XAMPP Version for Windows, in this example it ‘s 7.4.4.
The installer will be downloaded in your computer. Click on it to start the installation
Click Yes in the next screen, in my case I had no issues with my Antivirus software.
Click Ok in the following Window.
The first screen of the setup process will be displayed. Click on Next.
Leave the settings defined by default and click on Next.
Leave the installation folder as indicated below.
Click Next in the following window.
If in the previous window the checkbox for “Learn more about Bitnami for XAMPP” is selected, then the following windows is displayed. Just close it and continue with the installation.
Click Finish to end the wizard setup.
Wait for the installer to finish copying all the necessary files.
Once the files have been copied, click on Finish. Leave the checkbox “Do you want to start the Control Panel now” selected.
First time the control panel starts, it will ask for the language to be used. In this case I have selected English and clicked on Save.
The control panel is displayed as shown below.
Verifying XAMPP is correctly installed
Click on the Start buttons for Apache and MySQL. These are the Web Server and the Database used by WordPress respectively.
Open the following link in your browser: http://localhost/dashboard/.
You should get the following page. It means XAMPP has been installed. This will allow you to implement as many WordPress installations as necessary according to your projects.
In Part 2 I’ll explain how to create the Database that WordPress will use.