Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Xampp control panel shows an error access denied upon launch [closed]

I am facing a problem with my Xampp control panel. Once I try to launch it, it pops out an error message saying:

"Error:Cannot create file "C:\xampp\xampp-control.ini". Access denied.

The version I installed is xampp-win32-5.6.23. When I try to start the apache module, below is the log respnse:

7:53:14 PM  [Apache]    Attempting to start Apache app...
7:53:15 PM  [Apache]    Status change detected: running
7:53:17 PM  [Apache]    Status change detected: stopped
7:53:17 PM  [Apache]    Error: Apache shutdown unexpectedly.
7:53:17 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
7:53:17 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
7:53:17 PM  [Apache]    Press the Logs button to view error logs and check
7:53:17 PM  [Apache]    the Windows Event Viewer for more clues
7:53:17 PM  [Apache]    If you need more help, copy and post this
7:53:17 PM  [Apache]    entire log window on the forums
like image 270
Sahar Alsadah Avatar asked Jul 30 '16 16:07

Sahar Alsadah


People also ask

How do I resolve access denied error in XAMPP?

So open your XAMPP folder and find a file named xampp-control.exe. right-click on this file and Select Properties a tab will open like and select Compatibility and check “Run this program as an administrator” and click on the Ok button. So, we solve XAMPP server error xampp-control.

How do I close XAMPP control panel?

Shutting Down XAMPP You can shut down XAMPP from the main control panel by clicking Stop next to each of the services that are running, then click Quit.

How do I start XAMPP control panel?

If the XAMPP icon is in your system tray, you can click it to open the Control Panel. If you don't have the icon in your system tray, you can open the Control Panel by choosing Start All Programs Apache Friends XAMPP XAMPP Control Panel.


1 Answers

My problem was solved by just running the app as an administrator.

Right click the xampp control panel> run as administrator.

like image 98
Sahar Alsadah Avatar answered Sep 23 '22 18:09

Sahar Alsadah