XAMPP - How to create a Server System for the Web Browser

XAMPP is a software that allows you to simulate a server hosting environment. Based on this hypothetical server hosting, you can run a demo of a website right on your computer without the need to buy hosting or VPS.


1. Install XAMPP 7.4 64bit

First, make sure that your computer is using a 64-bit operating system. To check, right-click This PC icon on the screen, then select Properties.


Next, you access the link https://www.apachefriends.org/download.html to download XAMPP to your computer. In my experience, usually you should not use the latest version, this version may cause errors, and it takes time to run stably. Here, I download and install version 7.4.23.


The download process will take about 2 minutes depending on your network connection and computer speed. After downloading, click to start the installation process. The installer appears, select Yes, then Next, select the location to save the XAMPP installer:


The default installation path is C:\xampp. If you want to change this installation location, you can select the folder icon as shown above to change. Click Next a few more times and then Finish to complete the installation.

2. How to use the XAMPP Control Pane

The XAMPP control panel screen after installation is complete as shown below. In which there are 2 important items for us to care about, which are Apache and MySQL.


On XAMPP Control Panel, there are 2 important items for us to care about: Apache and MySQL


To start using, click the Start button in the two items above. The module in these two items turns green, informing you that the service is ready to use.
Now, let's create a project and test it on localhost to see if Apache is completely ready.

3. How to fix Port 80 in use by "Unable to open process" error

If when clicking Start of Apache, you get the error message: Port 80 in use by "Unable to open process" with PID 4. This error means that port 80 is already in use, you must change to another port (like port 8080). After changing the port, select Quit to exit the XAMPP control panel, and then restart XAMPP.
-------------------------What is your rating about this article?

Post a Comment

Previous Post Next Post

Comments