9

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. 

4 Answers4

15

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.

Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77
6

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

Jorizzzzz
  • 61
  • 1
  • 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. – theking2 Apr 11 '23 at 06:27
5

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.

theking2
  • 2,174
  • 1
  • 27
  • 36
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.

Jorge Garza
  • 31
  • 1
  • 2
  • 1
    This is way more preferrable. I have no idea why they made it read only. It is just a simple configuration. – Sojimaxi Jun 27 '22 at 10:32