【问题标题】:XAMPP is not starting Apache on XPXAMPP 没有在 XP 上启动 Apache
【发布时间】:2012-08-08 00:19:57
【问题描述】:

我安装了一台新的 XP 机器,除了驱动程序和 VNC 之外没有其他软件。

我从他们的网站下载了 XAMPP 1.8

Apache 无法启动。我查看了EventViewer 的详细信息并看到了

httpd.exe: Syntax error on line 456 of C:/xampp/apache/conf/httpd.conf: Syntax e
rror on line 17 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load /xam
pp/php/php5ts.dll into server: The application has failed to start because its s
ide-by-side configuration is incorrect. Please see the application event log for
more detail.

我一直在网上到处搜索,但无法弄清楚。

【问题讨论】:

  • httpd.conf 的第 456 行是什么,httpd-xampp.conf 的第 17 行是什么
  • 转到C:/xampp/apache/conf/httpd.conf 并在此处在第 456 行附近插入一些文本。同时从C:/xampp/apache/conf/extra/httpd-xampp.conf 在第 17 行附近插入一些文本

标签: php windows apache xampp


【解决方案1】:

我发现我需要安装 VC++ 可再发行软件。 XAMPP 应该让它更引人注目,所以没有安装它的人不要惊慌!

【讨论】:

  • 您能否添加更多信息,因为我有同样的问题,请:)
  • 我(完全)卸载了 XAMPP。确保文件夹已消失。有时它在那里,您需要将其删除。然后我安装了 VC++ 可再发行软件。然后重启。然后从 Installer 安装 XAMPP。
  • 谢谢,我已经从tinyurl.com/885nral 下载了它,明天我会试一试,因为我正在尝试在我不拥有的 PC 上的 USB 记忆棒上运行 XAMPP,而且我我不确定我是否有权安装东西。
  • 这正是我要找的。感谢您的提示。我终于能够在 Windows Server 2003 中运行 XAMPP 的 Apache。我记得这个 VC++ Redistributable 是在 Windows 上运行 PHP5 的要求。我完全忘记了它,因为可再发行软件总是在我以前使用过的所有机器上都可用。还好我找到了这篇文章。 :)
猜你喜欢
  • 2013-06-04
  • 2016-10-23
  • 2018-09-25
  • 2020-11-14
  • 2012-04-15
  • 1970-01-01
  • 2015-11-24
  • 2012-03-20
  • 2023-04-04
相关资源
最近更新 更多