为什么 Xampp 控制面板显示启动时错误访问被拒绝 [已关闭]

2022-08-30 10:15:07

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

“错误:无法创建文件”C:\xampp\xampp-control.ini”。访问被拒绝。

我安装的版本是xampp-win32-5.6.23。当我尝试启动apache模块时,下面是日志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

答案 1

我的问题通过仅以管理员身份运行应用程序即可解决。

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


答案 2

推荐