Reputation: 101
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
Upvotes: 10
Views: 12778
Reputation: 1
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
Upvotes: 0
Reputation: 2841
This will create a new xampp-control.ini with the correct rights.
Upvotes: 4
Reputation: 11
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
Upvotes: 1
Reputation: 11
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"
Upvotes: 1
Reputation: 324
Find file xampp-control.ini into folder XAMPP, changes permisssion for everyone with FULL CONTROL
Upvotes: 11
Reputation: 141
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".
Upvotes: 13