Can't quit XAMPP normally
Asked Answered
C

6

9

I use the win10 system. My xampp panel is v3.2.4. The xampp can run mysql and apache normally. But when I want to quit, the program will report an error, then no response. Need help, please. How can I fix this?

Add:enter image description here, the Chinese words in this picture means access denied.

enter image description here When I click quit bottom in xampp, it will show me these two hints.

This is my xampp-control.ini enter image description here

Collocutor answered 7/7, 2020 at 10:29 Comment(2)
Sounds like you need to talk to the people who distribute that software, though they're going to need to walk you through how to get some detailed technical information about the problem. One thing's for sure -- this is not a question about programming.Herdic
Please update your Question with the steps you are taking to 'quit' so we have an idea of your process.Yoon
B
12

Are you running the program as an administrator?

Make sure you have installed XAMPP outside of the Program Files folder, the default should warn you about that and suggest installing in C:\xampp anyway.

You may also need to go to the C:\xampp directory and change the settings for xampp-control.exe too. Right click on it, go to Properties > Compatibility and then check the "Run this program as an administrator".

Biondo answered 2/2, 2021 at 16:34 Comment(0)
I
10

Find file xampp-control.ini into folder XAMPP, changes permisssion for everyone with FULL CONTROL

Immaterialism answered 24/7, 2022 at 16:18 Comment(1)
This is the one and only solution that worked for me. This should be marked as the answer. However, I am unaware of the adverse effects of changing the default permissions.Indicative
M
3
  • Find file xampp-control.ini into folder XAMPP
  • Delete it
  • Start xampp control panel

This will create a new xampp-control.ini with the correct rights.

Matherly answered 23/11, 2023 at 21:41 Comment(0)
I
1

Open file location of Xampp Control Panel

https://i.sstatic.net/FqhaP.png

Right click on XAMPP Control Panel -> Properties -> Advanced. Then tick to "Run as administrator"

Ingoing answered 31/1, 2023 at 16:4 Comment(0)
B
1

you have to run as administrator

if you don't want to click all the time run as administrator you should set it to run as administrator

like this

Broussard answered 1/10, 2023 at 22:21 Comment(0)
H
0

The developers removed the write permissions for xampp-control.ini for non-administrative users due to the security vulnerability CVE-2020-11107.

"An attacker could modify the 'xampp-contol.ini' to set a value to a malicious .exe or .bat file that gets executed after another user tries to open it via the control panel."

Modifying the permissions of the file as suggested by xrockstar will work, but leave you unprotected from this vulnerability.

Apache Friends forum post on the subject: https://community.apachefriends.org/f/viewtopic.php?p=269851&sid=4b874f7cf5120df635eb46f400606093

Howund answered 22/4, 2024 at 20:48 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.