
How to Install and Configure XAMPP Properly to Avoid Errors When You Close the App
How to Install and Configure XAMPP Properly to Avoid Errors When You Close the App ๊ด๋ จ
XAMPP is popular software for those who use MySQL databases and PHP. Itโs free software, and it supports Windows, Linux OS, and MacOS. This makes it quite popular among developers even though it can also present us with many challenges.
One common issue you may have faced is the errors you can get when you want to exit the application. You can easily mitigate that issue by opening the application launcher as Administrator. But opening the launcher via administrator correctly can also be troublesome. This means that youโll need to configure a setting so that it asks for administrator access each time you want to launch it.
In this quick tutorial, Iโll walk you through this process so you donโt have to struggle with it.
Video Guide
I have prepared a complete video where I show you how to download and install the client. I also teach you how to make some changes so that you donโt encounter any issues when you want to quit the application.
Step-By-Step Process
If you keep the default installation directory during the installation, it will install it inside the C
drive of your Windows operating system.
So simply enter into the โCโ drive and go inside the โxamppโ directory.

xampp
directoryScroll down until you find the xampp-control.exe
file.

xampp-control.exe
fileRight-click after selecting the file and open the Properties.

Next, go to the Compatibility section. Make sure to add a check mark by clicking on the checkbox by โRun the program as an administratorโ.

Click โApplyโ, and โOKโ.
Thatโs it!
Now, whenever you want to open the XAMPP launcher, it will always open with administrator access.
Quitting the application
When you want to quit the application, you need to click the โQuitโ button instead of using the โXโ exit button at the upper right side of the window.

And now you shouldnโt get any errors when exiting the control panel anymore!
Conclusion
Thanks for reading this short tutorial. I hope it helped you interact more easily with XAMPP.
You can follow me on GitHub (FahimFBA
), LinkedIn (fahimfba
), and YouTube (@FahimAmin
) to get more content like this. Also, my website is always available for you!