Home HowTo How to Install and Configure XAMPP on Windows

How to Install and Configure XAMPP on Windows


how to configure xampp on windows 10 How to Install and Configure XAMPP on Windows

Most users face problems with XAMPP Installation. Today I’m writing about How to Install and Configure XAMPP on Windows. Some problems related to XAMPP and several other useful information. Let’s Start with introduction,

What is XAMPP?

XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P)

XAMPP is Open Source, Cross- Platform software package mainly developed for web developers, which gives access to PHP, MySQL, Perl and also offers Apache HTTP Server, MariaDB database, and interpreters and server-side scripting language

XAMPP Makes it very easy for developers to create a local web server for testing and deployment purposes, for developing complex web projects and even runs it in the virtual environment.

Using Best PHP editor tools or Any IDE you can create projects in XAMPP.

How to Install XAMPP on Windows?

XAMPP installation on windows is very much easy as compared to others Alternatives to XAMPP such as WAMP because in XAMPP you need very less configuration to be done to setup it perfectly.

  • Read Also: Best IDEs for Web Development

Step 1: First of all, Download XAMPP from their official site. There are multiple versions available on site, so I recommend you download which present at last (I recommend this only for windows users).

XAMPP Correct version for windows

You can see in above screenshot, choose the last version of the XAMPP because in it you can have additional features such as latest PHP interpreters, language support, and latest stable release.

Step 2: Install XAMPP: Double click on .exe file and start your XAMPP installation.

Click on next and just wait until installation finishes. after that, you can locate XAMPP directory in your C or System Drive.

You can now access XAMPP Control Panel, It looks something like this.

XAMPP Manager on windows technobuckets

You can Turn On/Off Apache Server, MySQL and Other Tools in this Manager.

The Question is How to Install and Configure XAMPP on Windows

Step 3: Configure XAMPP: After installation, you need to configure XAMPP for further use and remove some issues such as,

Resolve Logout Problem

Probably most users face this issue while accessing phpmyadmin, they are not able to log out or unable to switch the users.

there are simple step to resolve this issue, go further in this post.

Configure Config.php: Locate For Windows, you can find the file in the C:\xampp\php\php.ini

just change this line on config.inc.php

$cfg[‘Servers’][$i][‘auth_type’] = ‘config’;


$cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;

Hurray, now you can easily logout or switch the users just by tapping and log in with appropriate user.

Resolve BlowFish Error

Go to phpMyadmin Directory and open the config file >> /phpMyadmin/config.inc.php

Locate >> $cfg[‘blowfish_secret’] = ”; / YOU FILL IN THIS FOR COOKIE AUTH! /

Enter a string which should be not less than 32 characters.

You can use here special characters, numbers, and alphabets. Make it strong as much as possible.

Error: Apache shutdown unexpectedly

Firstly, Open the XAMPP Control Panel > Apache > click on the Config button > select the Apache (httpd.conf).

Search for line: Listen 80

Change 80 to your desired number, simply change 80 to any other number, then

Search again for ServerName localhost:80

Change 80 to 8080.

Second Step, Open the XAMPP Control Panel > Apache > click on the Config button > select the Apache (httpd-ssl.conf).

Search for line: Listen 443

Change 443 to 4433.

Then Search for

<VirtualHost _default_:443>

ServerName localhost:443

Change it to

<VirtualHost _default_:4433>

ServerName localhost:4433

Yup, Your problem is solved now.

Comment below if you facing other issues, because XAMPP generates tons of error if you have some minor or major changes in your system.

Hope now you can simply Install and configure XAMPP and start to build great web utilities for the world ;-).

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.