How to Install Xampp on Window 10 Without Error

Install Xampp in Window 10

In these tutorials, we will show you how to install Xampp on window 10 and how to resolve it most common error “Apache shutdown unexpectedly / blocked Port”. We will describe each step in detail, So stay with us.

Xampp provides you with build local server on your system. It is excellent practice to first develop your web application or website on a local server. Then launch it on a real server. It is a fully free and open-source application that provides your good localhost server to work on your system even when you don’t have internet access. It is very easy to install and use and it provides you a control panel to control all the components.

Once you successfully installed Xampp server on your PC. You can install any CMS such as WordPress, Joomla, Magento, etc.

What is Local host Server?

The localhost means creating an environment where you can host and test your web application or website offline. When running a web application or website offline, so you need to install the localhost server. In this tutorial, we are using the Xampp server for creating a localhost environment in the system.

You can easily download XAMPP from our website or you can also download Xampp from their official website.

How to Install XAMPP on Windows 10

Let’s start with step by step guide to how to install XAMPP on window 10. And we are very sure by the end of this tutorial you will be successfully installed the localhost server without any error in your system.

First, you need to download the Xampp server. You can download from our website link mentioned above or you can also download from the official website.

Once you have downloaded. You need to double click on the file to launch the installer.

When you launch the installer it will be asked for ‘User Account Control (UAC)‘. Click the ‘OK‘ button.

Xampp asking for User Account Control(UAC) permission

After this, you will get the setup screen. Click the ‘Next‘ button.

Xampp Installation Setup

Xampp provides you the number of components that you can install like Apache (compulsory), MySQL, Phpmyadmin, PHP, Tomcat, and more. We recommended you to leave it to default options.

Click on the ‘Next‘ button.

Xampp setup component selection area

In this step, you can choose the location where you want the Xampp server to be installed in the “Select a folder” field. Or you can use a default location.

Click on the ‘Next‘ button.

Xampp setup set the location section

Uncheck the ‘Learn more about bitnami for XAMPP’ box.

Click the ‘Next‘ button.

Xampp setup asking for bitnami guide

Then it starts the installation

xampp unpacking files

Between the installations, it asks for access from the firewall. Click on the ‘Allow access’ button to allow the Xampp through the firewall (if applicable).

xampp asking for firewall permission

When the installation is done, click on the ‘Finish

Completed xampp installation

Choose your language (English or German). And click on the Save button.

Once you have completed the above steps, the XAMPP control panel will launch, you can start your localhost server for developing or testing your web application or website.

Xampp Control Panel

Fixing a Blocked Port Error in XAMPP

Sometimes a most common error blocked port (‘Error: Apache shutdown unexpectedly.‘) occur when you try to start Apache. When you are using the standard setup, then Xampp will allocate the webserver to main port 80 and the SSL port 443. Sometimes these port often blocked by other programs.

Now we will show you how to solve that error by changing the port that Apache uses.

The error you are getting probably something like the below image.

xampp broken port error(Apache_shutdown_unexpectedly.)

Port 80 probably used by skype but you may not able to change the Skype port. in that situation, you can change Apache to use the other port.

Step 1: Changing Port in Httpd.conf File

In the Xampp control panel click on the config button by Apache and select the httpd.conf:

Xampp changing port in httpd.conf file

After clicking a file will open on a notepad or some other text editor.

Find “Listen 80” and change it to “Listen 8080“.

Then again in the same file find “ServerName localhost:80” and change it to “ServerName localhost:8080“.

After changing the above ports save and close the file.

Step 2: Changing Port im httpd-ssl.config File

Again in the Xampp control panel click on the config button by Apache. But this time select the httpd-ssl.conf.

Xampp changing port in httpd-ssl,conf file

Again a file will open on the text editor.

Find “Listen 443” and change it to “Listen 4433“.

Then again in the same find “<VirtualHost_default_:443>” and change it to “<VirtualHost_default_:4433>.

And also find “ServerName” and change it to “ServerName localhost:4433”.

After these changes don’t forget to save the file.

After this, you will resolve the error if you are still facing the problem you also need to follow the below step.

Step 3: Changing Port in Main Config

In the Xampp control panel click on the main config button.

Xampp control panel use for configuration

Then click on the Service and port setting.

Xampp Configuration of control panel

You will get the ‘service setting‘ screen. Here, you need to change the main port to 8080 and the SSL port to 4433. And click on the Save button.

Xampp service Setting

Then restart the control panel and run the apache server.

Here you successfully resolve the problem by following the above steps.

We hope this tutorial helped you to learn how install Xampp in window 10 without any error. If you have any queries feel free to comment you can also communicate with us on social media.
If you like this tutorial, then please like us on Facebook and Follow US on Twitter.

Written by 

Leave a Reply

Notify of