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

标签 php apache xampp bitnami

<分区>

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

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

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

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

最佳答案

我的问题以管理员身份运行应用程序就解决了。

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

关于php - 为什么 Xampp 控制面板在启动时显示错误访问被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38676374/

相关文章:

php - Mysql group_concat 与 unique 和 where 给出奇怪的结果

php - 搜索多行mysql

php - 在一台机器上的 Firefox 上重复出现 "Unresponsive Script Warning"

java - WSDL2Java 不会创建所有 stub

apache - SetEnvIfNoCase 未正确设置变量值

apache - 在 Apache Web 服务器上运行 Gwt 应用程序

mysql - 两个 XAMPP WordPress 安装,其中一个指向不同的 URL,但都无法正常工作

php - Laravel Echo 在 Laravel 8-vujs "^2.5.17"版本中未接收 Pusher 事件

c# - 连接到本地主机上的 MySQL 失败

php - 无法在 XAMPP 和 Windows XP 上安装 Xdebug