http://localhost 未加载

http://localhost 未加载

我已经安装了 Xampp 来使用 wordpress,但是在安装了带有 Apache 的 Xampp 之后,MySql 正在运行.....我进入浏览器并输入“http://本地主机“,什么也没有发生,只是空白屏幕。

我的 Apache 服务器没有运行,我知道问题出在 IIS 上,所以必须禁用它。

有人能解决这个问题吗http://本地主机无法使 xampp 和 wordpress 运行。

以下是端口检查结果 >

RESULT
------

Service Port Status
==============================================================================
Apache (HTTP) 80 Program: C:\xampp\apache\bin\httpd.exe
Apache (WebDAV) 81 free
Apache (HTTPS) 443 Program: C:\xampp\apache\bin\httpd.exe

MySQL 3306 Program: C:\xampp\mysql\bin\mysqld.exe

FileZilla (FTP) 21 free
FileZilla (Admin) 14147 free

Mercury (SMTP) 25 free
Mercury (POP3) 110 free
Mercury (IMAP) 143 free
Mercury (HTTP) 2224 free
Mercury (Finger) 79 free
Mercury (PH) 105 free
Mercury (PopPass) 106 free

Tomcat (AJP/1.3) 8009 free
Tomcat (HTTP) 8080 free

Press <Return> to continue.

答案1

Service              Port   Status
===================================
Apache (HTTP)          80   SYSTEM
Apache (WebDAV)        81   free
Apache (HTTPS)        443   SYSTEM

这几乎就是我所看到的,而且我的正在运行。我会检查你的防火墙,当 IIS 运行时,你能找到它吗?也可以浏览到http://127.0.0.1如果你能访问该链接,则可能是 DNS/Hosts 文件问题。你能访问https://本地主机

答案2

启用display_errorsPHP 配置选项,以便您可以看到 PHP 引擎试图向您显示的错误。

答案3

如果您尝试从另一台电脑加载该页面会发生什么情况?尝试 http:\computername 或 http:\ipaddress。

Wordpress 是否也配置在根目录中。我认为默认情况下它类似于 http:\localhost\blog

相关内容