xampp control panel EAccessViolation
Asked Answered
A

4

13

Every time I quitt the xampp Control Panel following Error appears

How can I fix this?

  Exception EAccessViolation in module xampp-control.exe at 0025B2AE.
  Access violation at address 0065B2AE in module 'xampp-controle.exe'.
  Read of address 00000042. 
Abessive answered 25/4, 2020 at 18:56 Comment(0)
G
19

Before running Xampp, go to the C:\xampp directory, look for xampp-control.exe, right click on it, go to Properties, go to the Compatibility tab, and then check the Run as administrator option and click on Apply.

Guilbert answered 11/12, 2020 at 17:38 Comment(1)
That solved it!Tingaling
S
6

Solution: give xampp-control.exe in C:\xampp Administration rights. See a short video on https://www.youtube.com/watch?v=jh1q0w-mHKU

Schober answered 13/5, 2020 at 8:56 Comment(1)
That will work but I don't believe giving something more rights that it actually needes is a wise course of action. By removing the root cause of the problem (rights on the .ini file) the problem is solved in a cleaner way. Besides having people mess with file rights might yield other unexpected problems.Swarm
S
6

The rights on xampp-control.ini are strict by design; see XAMPP Forum. But only during install.

To solve this the easiest way is:

  1. directly after install remove c:/xampp/xampp-control.ini (that's .ini not .exe!); the file will be created in...
  2. start XAMPP Control panel, and select your preferred language.

A new xampp-control.ini file will be created with defaults and writable by the authenticated users and administrators. Normal users have only read access.

You won't be messing obscurely with rights, just deleting a single file. The preferred method.

Swarm answered 31/8, 2022 at 10:4 Comment(0)
A
2

That could be a bit annoying every time you start XAMPP, I solved it by reseting permissions to d:/XAMPP/xampp-control.ini, it originally has only reading permissions, this way is a bit cleaner.

Artillery answered 22/6, 2022 at 3:13 Comment(1)
This is way more preferrable. I have no idea why they made it read only. It is just a simple configuration.Bedding

© 2022 - 2024 — McMap. All rights reserved.