无法在 XAMPP 中安装 wordpress

Cannot install wordpress in XAMPP

我已经成功安装XAMPP。我的 Apache 和 MySQL 服务器是 运行 完美。 当我在进度标准填满时安装 wordpress 时没有问题。

但是当进度条结束时,我在 XAMPP 控制面板中收到以下消息并且安装无法完成。状态将是解包文件。

Error: Apache shutdown unexpectedly.
3:53:49 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
3:53:49 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
3:53:49 PM  [Apache]    Press the Logs button to view error logs and check
3:53:49 PM  [Apache]    the Windows Event Viewer for more clues
3:53:49 PM  [Apache]    If you need more help, copy and post this
3:53:49 PM  [Apache]    entire log window on the forums

所以有人有解决这个问题的建议吗?

可能您必须更改 apache 的端口才能安装 wordpress,因为它们可能都使用相同的端口

这个 link 有关于如何更改 apache 端口的方法:

http://w3guy.com/fix-xampp-error-apache-shutdown-unexpectedly/

希望对您有所帮助:)

您是否安装了 WordPress 安装程序或模块?您应该从 https://bitnami.com/xampp

安装模块

在我努力了一上午尝试将 wordpress 安装到 joomla 和 drupal 到现有的 xamp 之后,我遵循了这个过程并且它对我有用:

由于访问 http 和 https 端口时发生冲突,安装挂起。 模块的安装会启动它自己的 httpd 进程,因此将其终止。 使用 Netstat 工具确定访问这些端口的进程并杀死它,然后从 xamp 控制台启动 apache,安装将在一段时间后继续。

为什么要使用应用程序来完成这个简单的操作?

按照以下步骤操作:

  1. 下载 wordpress 表单:https://wordpress.org/download/
  2. 解压到 htdocs (C:\xampp\htdocs)
  3. 创建 mysql 数据库和用户
  4. 在浏览器中打开 wp 文件夹
  5. 按照向导操作。

我已经在 YouTube 中展示了如何做到这一点。观看视频了解完整信息。

如果您发现任何问题,请回复我。

默认情况下,Xammp 和其他 Microsoft Studio 程序都使用端口 80 作为端口。如果端口冲突,您应该更改 xammp 端口并在浏览器中输入 localhost:newport。

查看综合教程...https://sourcecodepot.blogspot.co.ke/2016/11/how-to-install-wordpress-part-one.html