I use xampp for one month. But xampp yesterday started making trouble like this
https://imgur.com/avRWXdb. That I uninstall and now install xampp and my sql is running. But now if i want to run xampp and click to xampp icon I always have to choose language: english / german. And if I want to end the program and I stop mysql, I see https://imgur.com/plIpPS4 (* Access Denied) and this: https://imgur.com/a/sEzGKW2 Then I must wain for program answer. I can end xampp. How to repair to normal working again? Thank´s
asked Apr 13, 2020 at 17:45
2

The issue is with the permissions, just give write access to the file, you will not get error while you try to exit xampp …
It worked for me …
answered Jun 2, 2020 at 16:58
Srinivas08Srinivas08
92410 silver badges21 bronze badges
1
xampp-control.ini file somehow become ‘read only’. Just changing it to ‘full control‘ solved my problem.
answered May 28, 2020 at 21:07
![]()
ErcanErcan
2,45120 silver badges22 bronze badges
2
Deleting the file and executing xampp-control.exe is also working.
xampp-control.exe will recreate the ini file with all the correct permissions.
answered Oct 25, 2020 at 19:43
1
Error caused due to incorrect xampp-control.ini file permission.
In order to fix this issue in a simple way:
- Open xampp folder > delete xampp-control.ini file
- Run the xampp application, it will recreate the xampp-control.ini file with proper file permission.
Now your application should look good.
answered Mar 26, 2021 at 18:32
DSHDSH
491 silver badge5 bronze badges
My problem was solved by just running the app as an administrator.
Right click the xampp control panel, and then run as administrator.
You can send to desktop the xampp control panel (shortcut), then change permissions to always Run As Administrator[my image] , 1
and use the shortcut in everywhere you want to add (maybe in your taskbar)
answered Apr 19, 2020 at 18:47
![]()
It happens because the owner of xampp-control.ini is different than your user. A simple solution I did was to:
- copy it
- paste it somewhere
- copy it back to the original location
This way your user will become the owner of the file. No need to run Xampp Control Panel as Administrator which then prompts you each time you run it.
answered Aug 11, 2020 at 19:37
![]()
Sohail AhmedSohail Ahmed
9491 gold badge10 silver badges26 bronze badges
I have just the xampp control panel as an administrator and its done.
Right click on xampp control panel and select run as administrator, your issue will be solved.
answered Aug 19, 2020 at 3:45
![]()
Imad UllahImad Ullah
8419 silver badges15 bronze badges
Best solution is to locate the file xampp-control.ini in C:xampp, right-click, select Properties then the Security tab and Edit the permissions to Allow all permissions for Everyone.
answered Nov 2, 2020 at 9:08
![]()
Solution for this error cannot create file «c:xamppxampp-control.ini» acces denied
Rightclick on xampp-control.ini and click on property then click on security and click on EDIt and give full control on EveryOne.
answered Apr 14, 2022 at 8:00
- Find file xampp-control.ini into folder XAMPP
- changes permisssion for everyone with FULL CONTROL
answered Jul 24, 2022 at 16:24
![]()
In this tutorial, we will discuss Error: Cannot create file “D:xamppxampp-control.ini” Access is denied in an easy method. xampp-control.ini Access is denied and Exception EAccessViolation in module xampp-control.exe at0025B2AE issue arrives when you want to close your XAMPP server mostly. And when you open your XAMPP serve as an administrator this issue will not arrive. so in this blog post, we learn how to set XAMPP as default open an Administrator. Below error show like this.


Ok, now let’s this fix.
First, open your XAMPP folder and find a xampp-control.ini(D:xamppxampp-control.exe) file. right-click on this file and Select Properties a tab will open and select Compatibility then checkbox check Run this program as an administrator and click on the bottom Ok button.

Now, we solve XAMPP server error xampp-control.ini Access is denied in this blog post. when your run xampp-control.ini it will run as administrator.

Categories:
Problem
When I quit XAMPP, an error “Control Panel, an Error: Cannot create file “…xamppxampp-control.ini” occured.

And the message “Application Error (Not Responding)” displayed.

Environment
Windows10
XAMPP 7.4.10
What is xampp-control.ini?
If you’d like to know what XAMPP is, please refer the article “Installation of XAMPP“. xampp-control.ini is the configuration settings of XAMPP. It contains variables and values as below.
[Common] Edition= Editor=notepad.exe Browser= Debug=0 Debuglevel=0 TomcatVisible=1 Language=English [EnableModules] Apache=1 MySQL=1 FileZilla=1 Mercury=1 Tomcat=1
What is the meaning of error message?
The error message says “the access to xampp-control.ini was denied” and “the access violation occurred in the module xampp-control.exe”.
Cause of the error
Current user is unauthorized to the file “xampp-control.ini”.
Solution
Change the current user to the administrator
Run “xampp-control.exe” as a administrator. This is the best way.
Appendix
Another Solution: Change permission of xampp-control.ini
Right-click “xampp-control.ini” and open property.
Open Security tab and click “Edit” button to change the permission. Add current user and change its permission from “Read” to “Modify”. Refer ‘“Windows cannot access the specified device, path, or file” error when you try to install, update or start a program or file‘ for details.
Warning: Be careful that this may cause security vulnerability. In my case, I run this application in only local environment.
«Cannot create file ‘C:xamppxampp-control.ini'»
5
Thanks to TitledCerebellum’s suggestion, I’ve solved the issue!
The-Psychid
(talkcontribs)
Lately I found myself reinstalling XAMPP to try and make my wiki; but recently, whenever I try to exit out of it, I always get the following error message:
- Error: Cannot create file «C:xamppxampp-control.ini». Access is denied.
And when I try to exit out of it, the program crashes. What’s more, for all the times this happens, the icon for XAMPP is blank (as in instead of an orange square with an X, there’s a blank sheet of paper). If it helps, I’m trying to install the latest version of XAMPP, which I believe is 7.4.12.
Is it possible that I’ve set it up wrong, or is there something else I’m unaware of?
The-Psychid
(talkcontribs)
I saw the YouTube video and one of the other links (I forgot which one); and so far, I’m not running into the «can’t create .ini file». But it’s still too early to celebrate. I’ll be sure to let you know if I’m still running into that issue.
TiltedCerebellum
(talkcontribs)
I’m just a mediawiki user like you, I know how many strange and interesting issues we can run into and learn from. I’m still doing that myself. I’ll cross my fingers for ya 😉
The-Psychid
(talkcontribs)
Actually, I think it’s working fine now. Thanks!
I am very, very new to Ubuntu and I just started using it.
I installed Xampp server on it by downloading Xampp from their website and installing it with Ubuntu Software.
But when I try to find it in Ubuntu Software installation list, it does not exist.
My first problem was by starting xampp:
cd ../../opt/lampp/
sudo ./lampp start
And I get this:
Starting XAMPP for Linux ...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
myName@MyName:/opt$ /opt/lampp/bin/mysqld_safe_helper: Can't create/write to file '/opt/lampp/var/mysql/MyName.err' (Errcode: 13 "Permission denied")
I was looking online for answer but for that I didn’t found anything that worked…
So I guess I should install everything by itself without xampp and now when I want to uninstall for some reason I can’t and probably I do not know how because it is not installed by apt-get so I cannot uninstall with apt-get remove.
And I searched for this also and everyone keeps talking about doing this:
sudo /opt/lampp/uninstall
But I do not have any uninstall files in entire lampp folder…
This is the version that I downloaded and installed:
xampp-linux-x64-5.6.30-0-installer.run