How to Install and Configure XAMPP Server

This guide will walk you through to install and configure XAMPP server on Windows 10. The XAMPP is a free open source application that provides the easy way for web designers and developers to install the components to run PHP based software like WordPress, and etc. on Windows. XAMPP server includes with control panel to manage all its components easily. XAMPP stands for cross-platform, Apache, MySQL, PHP, Perl, and with some additional modules including phpmyadmin (for the database), FileZilla, Mercury, and Tomcat.

How to install XAMPP on Windows 10

How to download and install XAMPP on Windows 10, follow the below steps.

1- Choose the Download option for the Windows version of XAMPP.

Note: If you have any special version requirements for PHP, then download the version you are required to install. If you don’t have a version requirement, then you can download the oldest version, as it will help you to avoid issues trying to install PHP based application. In addition, a set of instructions have been tested to work for XAMPP version 7.3.26 & previously versions, but you can also use them to install later versions.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

Install and Configure XAMPP Server

2- Double-click to launch the xampp installer.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

3- Click yes.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

4- Click ok.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

5- Welcome to the XAMPP setup, click next.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

Complete XAMPP installation on Windows 10

6- XAMPP offers a variety of components that you can install, recommended to leave the default options. Click Next.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

7- Leave the default installed location. (Or select another directory to install the software) and then click Next.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

8- Choose the language for the XAMPP Control Panel and then click next.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

9- Click Next.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

10- Click next to begin the XAMPP installing.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

11- Welcome to XAMPP!

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

12- Chose the Allow access button to allow permission through the Windows Firewall (if applicable). Click Finish.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

How to configure XAMPP on Windows 10

13- The XAMPP Control Panel includes main sections. In this section, you will find all the web services available. You can start service by clicking on the Start button.
When we start some of the services, including (Apache and MySQL), you will see the process PID(s) number and port(s) numbers that each service is using. For instance, by default Apache uses ports 80 and 443, while MySQL uses ports 3306.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

14- Open any web browser, type http://localhost/

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

Install WordPress on XAMPP Server

15- In this step, we are talking about the wordpress.org, which is a free, open-source CMS for website building and maintenance. Select download WordPress.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

16- Right-click on downloaded wordpress-5.6.zip, choose winzip & then unzip to here.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

17- Copy unzipped wordpress folder.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

18- In the computer, the XAMPP server file was installed in C:\xampp, so we need to paste our WordPress folder in C:\xampp\htdocs folder.
XAMPP Server directory.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

19- To avoid confusion of this project, we can rename this WordPress folder that we will remember such as TestSite, etc. Keep in mind that will be our local WordPress site URL.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

20- Type the following address into your web browser (Chrome, Firefox, or I Explorer) http://localhost/TestSite/
Select a language and then click continue.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

21- Select Let’s go!

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

22- Leave it for a while.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

23- Now type http://localhost/phpmyadmin/ in web browser and then press enter.
Select the Databases tab in phpMyAdmin to create a new database for our WordPress.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

24- Type a database name (TestDB) and then select Create.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

25- Your new database is ready, you can now install WordPress.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

26- Go back to your local site http://localhost/TestSite/ here you can type your database name, username, with password, host, and table prefix. In my test lab, I have entered the following credentials.
Database Name: TestDB
Username: root (default MySQL password)
Password: (leave this field blank)
Host: localhost
Table prefix: wp_

Select Submit.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

27- Select Run the installation.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

28- Fill the information needed for your new WordPress website. It’s include the site title, username, password, and email address.
Enter the credentials and then press Install WordPress.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

29- After completing the installation, Select login.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

30- Enter your login credentials to log into your WordPress dashboard.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

31- WordPress Dashboard.

Install and Configure XAMPP Server, How to Install and Configure XAMPP Server

Fix Apache Shutdown Unexpectedly

Jamil Parvez
Jamil Parvezhttps://www.xpertstec.com
Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Latest Articles