Lesson 2 - Setting Up A Web Server
Lesson 2 - Setting Up A Web Server
Windows
Introduction
XAMPP is a free and open-source tool used by web developers in the Windows family and other
platforms to set up the development and testing environment. XAMPP server comes with the
XAMPP control panel to manage all its components easily.
XAMPP stands for (X) Cross-platform, (A) Apache, (M) MySQL, (P) PHP, (P) Perl and with some
additional modules including phpmyadmin (for the database), FileZilla, Mercury, and Tomcat.
Once you have installed and configured the XAMPP server in your system, you can easily work
with any CMS like WordPress, Joomla, drupal and more. XAMPP server works like a local server
in your system that is generally used by PHP developers to test the websites (web-projects).
This lesson will show you the various steps on how to install and configure the XAMPP server
on Windows
Step 1
To download the XAMPP server, visit the https://www.apachefriends.org/index.html website in
your web browser.
Step 2
Click on "XAMPP for Windows". Then, navigate the downloading location and the file will be
automatically downloaded.
Step 3
Double-click the downloaded file to launch the XAMPP installer.
Step 4
"Setup" window will appear on the screen. Then, click on the "Next" button.
Step 5
Select the components that you want to install and click on the "Next" button.
Step 7
Uncheck the "Learn more about Bitnami for XAMPP" option and click on the "Next" button.
Step 8
"Ready to Install" window will appear on the screen, then click on the "Next" button.
Step 9
Click on the "Finish" button.
Step 10
Select a language. (either English or German) and click on the "Save" button.
Step 1
Start the XAMPP control panel through the "Run as administrator" option.
Step 2
"XAMPP Control Panel" will appear on the screen and click on "Start" action to start the
"Apache" and "MySQL" modules.
Note:
The default XAMPP server settings should work for most users. When you start the related
modules (services) then, the color of the related modules (service) becomes change into the
green color and the PID(s) and the Port(s) number will also be shown to the user.
Step 1
Open the XAMPP Control Panel.
Step 2
In Apache Module Service, click on the "Config" button.
Step 3
Click on "Apache (httpd.conf)" option.
Step 4
By pressing the "Ctrl + F" key, find the "Listen 80" and replace it with another open port (like 81
or 9080) and save the file.
Step 5
Restart the XAMPP Server.
Step 6
Again, open the "XAMPP Control Panel" and click on the start option under the "Apache"
module services.
Step 1
From the Start Menu, search for Control Panel.
Step 2
Click on "Programs".
Step 3
Click on the "Turn Windows Feature on or off" option.
Step 4
Uncheck (clear) the "Internet Information Services" option and click on the "OK" button.
Step 5
Click on the "Restart Now" option (This will reboot/restart your computer/laptop).
Step 6
Again, open the "XAMPP Control Panel" and click on the start option in the "Apache" module
services.