【问题标题】:My xampp apache is not working我的 xampp apache 不工作
【发布时间】:2013-12-12 12:24:21
【问题描述】:

我刚刚在我的笔记本电脑上安装了 xampp,但我在运行 apache 时遇到了一些问题。它说端口 80 繁忙。我在 Skype 上取消选中端口 80,并将 apache 配置更改为 81。

3:05:11 p.m.  [main]    Initializing Control Panel
3:05:11 p.m.  [main]    Windows Version: Windows 7 Home Premium SP1 64-bit
3:05:11 p.m.  [main]    XAMPP Version: 1.8.2
3:05:11 p.m.  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
3:05:11 p.m.  [main]    You are not running with administrator rights! This will work for
3:05:11 p.m.  [main]    most application stuff but whenever you do something with services
3:05:11 p.m.  [main]    there will be a security dialogue or things will break! So think 
3:05:11 p.m.  [main]    about running this application with administrator rights!
3:05:11 p.m.  [main]    XAMPP Installation Directory: "c:\users\dean\desktop\m\"
3:05:11 p.m.  [main]    Checking for prerequisites
3:06:43 p.m.  [main]    All prerequisites found
3:06:43 p.m.  [main]    Initializing Modules
3:06:44 p.m.  [main]    Starting Check-Timer
3:06:44 p.m.  [main]    Control Panel Ready
3:06:49 p.m.  [Apache]  Status change detected: running
3:06:50 p.m.  [Apache]  Status change detected: stopped
3:06:50 p.m.  [Apache]  Error: Apache shutdown unexpectedly.
3:06:50 p.m.  [Apache]  This may be due to a blocked port, missing dependencies, 
3:06:50 p.m.  [Apache]  improper privileges, a crash, or a shutdown by another method.
3:06:50 p.m.  [Apache]  Press the Logs button to view error logs and check
3:06:50 p.m.  [Apache]  the Windows Event Viewer for more clues
3:06:50 p.m.  [Apache]  If you need more help, copy and post this
3:06:50 p.m.  [Apache]  entire log window on the forums

【问题讨论】:

    标签: xampp


    【解决方案1】:

    日志显示它没有以管理员权限运行。尝试右键单击 xampp_start.exe 文件并单击“以管理员身份运行”

    【讨论】:

      【解决方案2】:

      尝试进入 xampp 文件夹 (xampp\apache) 中的 apache 文件夹并运行 apache_uninstallservice.bat,然后运行 ​​apache_installservice.bat。如果这不起作用,那么希望其他人可以提供帮助,因为我没有想法

      【讨论】:

        【解决方案3】:

        在 Windows 中,禁用已在端口 80 上运行的“万维网发布”服务(并阻止 Apache 启动)。为此,开始 >> 运行 >> services.msc >> 查找“万维网发布”服务 >> 停止服务并将启动类型设置为“已禁用”。

        然后尝试再次启动 xampp Apache。

        【讨论】:

          【解决方案4】:

          如果您在 C 驱动器中的 xampp 文件夹(例如 C:\xampp)中隐藏了所有内容(除了或包含 htdocs),请取消隐藏所有内容。这可能会有所帮助。

          【讨论】:

            猜你喜欢
            • 2015-11-23
            • 2013-12-11
            • 2017-07-21
            • 1970-01-01
            • 2021-10-28
            • 2016-04-04
            • 2010-09-30
            • 2017-04-16
            • 2016-04-19
            相关资源
            最近更新 更多