沃梦达 / 编程问答 / php问题 / 正文

为什么 Xampp 控制面板在启动时显示错误访问被拒绝

Why Xampp control panel shows an error access denied upon launch(为什么 Xampp 控制面板在启动时显示错误访问被拒绝)

本文介绍了为什么 Xampp 控制面板在启动时显示错误访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Xampp 控制面板出现问题.一旦我尝试启动它,它会弹出一条错误消息:

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

错误:无法创建文件C:xamppxampp-control.ini".访问被拒绝.

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

我安装的版本是xampp-win32-5.6.23.当我尝试启动 apache 模块时,以下是日志响应:

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

推荐答案

只需以管理员身份运行应用程序即可解决我的问题.

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

右键单击xampp控制面板>以管理员身份运行.

Right click the xampp control panel> run as administrator.

这篇关于为什么 Xampp 控制面板在启动时显示错误访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:为什么 Xampp 控制面板在启动时显示错误访问被拒绝

基础教程推荐