xampp-control.ini write error still there when quitting

Problems with the Windows version of XAMPP, questions, comments, and anything related.

xampp-control.ini write error still there when quitting

Postby calande » 09. August 2023 09:27

Hello,

I was browsing the English forum and I found that other users are facing the exception error message when exiting the control panel, with XAMPP complaining not being able to write to xampp-control.ini. I was also having this error message today, although I installed XAMPP inside my own user directory, not in the Program Files directory (to avoid access right issues, precisely). Searching elsewhere on the web, I found other users with the same problem, and I found a temporary fix* (see URL below). A user suggested right-clicking the xampp-control.ini file in the XAMPP installation directory, going to Properties > Security > Modify > Everyone, and granting all access. Then you can start and quit the XAMPP control panel as a regular user without having the exception error message popping up. Could someone forward this trick to the XAMPP development team, please? Hopefully this will be fixed for the next update :wink:

Thank you and happy coding 8)

* https://stackoverflow.com/questions/38676374/why-xampp-control-panel-shows-an-error-access-denied-upon-launch
calande
 
Posts: 1
Joined: 09. August 2023 09:10
XAMPP version: 3.3.0
Operating System: Win11

Re: xampp-control.ini write error still there when quitting

Postby Altrea » 09. August 2023 14:56

Hi,

will not be fixed that way, because it is a workaround against a security issue
https://nvd.nist.gov/vuln/detail/CVE-2020-11107
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: xampp-control.ini write error still there when quitting

Postby Flannonsen » 23. August 2023 00:01

After doing these steps log out and restart the XAMPP. Then quit XAMPP. Then log in to finally refresh the administrative rules to use XAMPP.
..0O Activate User Privileges O0..
- Go to the XAMPP directory.
- Search for file xampp-control.ini.
- Go to properties of that file.
- Under security tab select users Everyone.
- Edit permissions and provide full control.
- Apply changes.
Flannonsen
 
Posts: 1
Joined: 22. August 2023 23:57
XAMPP version: 8.0.25
Operating System: WIN10

Re: xampp-control.ini write error still there when quitting

Postby trejder » 26. August 2023 01:06

calande wrote:Hello,A user suggested right-clicking the xampp-control.ini file in the XAMPP installation directory, going to Properties > Security > Modify > Everyone, and granting all access

What are you talking about?

Your solution says about running XAMPP as an admin NOT about granting access to it to everyone!

You are totally mixing up two ideas. Running an app as an admin (an elevated access) is something someone normal (provided that you DO have admin access in your Windows). Granting every PC user an unrestricted access to XAMPP is a security madness beyond my imagination.

It's like opening all your doors and windows and putting "This house is ready for being robbed" sign in your garden.
trejder
 
Posts: 68
Joined: 13. April 2008 06:45


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 187 guests