Cannot create file "C:\xampp\xampp-control.ini" error

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

Cannot create file "C:\xampp\xampp-control.ini" error

Postby bjh » 28. May 2020 18:01

After installing xammp for Windows 7.4.6 and making a change in the configuration, i get Cannot create file "C:\xampp\xampp-control.ini" error after clicking on the SAVE button.
bjh
 
Posts: 13
Joined: 24. April 2020 06:06
XAMPP version: 7.4.4
Operating System: Windows 10 Pro 1909 64-bit

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby bjh » 28. May 2020 18:19

also get it when closing XAMPP after stopping Apache and MySQL and clicking the Quit button.
bjh
 
Posts: 13
Joined: 24. April 2020 06:06
XAMPP version: 7.4.4
Operating System: Windows 10 Pro 1909 64-bit

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby wizwych » 31. May 2020 17:17

I am also having the same issue have you changed the Directory name for xampp to another name example xampp_old when you open your control panel again see which directory it is trying to open up..

I changed mine to xampp_old and created a new xampp named directory with all files added yet Control Panel insists on trying to open the xampp_old rather than the newly named folder
wizwych
 
Posts: 2
Joined: 31. May 2020 17:11
XAMPP version: 7.2.31
Operating System: windows 10

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby bjh » 31. May 2020 22:00

did not change the directory name. Used the default settings when installing XAMPP and was the very first app I installed once I had a fully updated Windows 10 installed.
bjh
 
Posts: 13
Joined: 24. April 2020 06:06
XAMPP version: 7.4.4
Operating System: Windows 10 Pro 1909 64-bit

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby wizwych » 02. June 2020 00:48

All i can usggest is Save a copy of HTDOCS and MYSQL/DATA just the data foder save them to your DOCUMENTS folder and unnstall then reinstall XAMPP/WAMP then replace the HTDOCS and the MYSQL/DATA folders with the ones you saved earlier. That worked for me.....
wizwych
 
Posts: 2
Joined: 31. May 2020 17:11
XAMPP version: 7.2.31
Operating System: windows 10

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby sekar » 04. June 2020 07:16

Go to XAMPP, installation directory, select the xampp-control.exe, right click properties--> compatability, Run as administrator, apply.

[img]C:/Users/HOME/Desktop[/img]
sekar
 
Posts: 1
Joined: 04. June 2020 07:09
XAMPP version: 7.4.5
Operating System: Windows 8

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby bjh » 09. June 2020 20:37

@sekar your suggestion still gives me that error.
bjh
 
Posts: 13
Joined: 24. April 2020 06:06
XAMPP version: 7.4.4
Operating System: Windows 10 Pro 1909 64-bit

Re: Cannot create file "C:\xampp\xampp-control.ini" error

Postby kubegus » 18. June 2020 17:29

sekar wrote:Go to XAMPP, installation directory, select the xampp-control.exe, right click properties--> compatability, Run as administrator, apply.


That's works for me! Cheers!

I have the same problem when I closed the program, because I run it as normal, without "administrator". Now its closed without any warning adviced.
kubegus
 
Posts: 5
Joined: 18. June 2020 09:33
XAMPP version: v3.2.4
Operating System: windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 99 guests