【发布时间】:2012-03-22 12:24:37
【问题描述】:
我在 Windows 7 机器上安装了一个 WAMP 包,并且所有东西(Apache、php、MySQL、phpMyAdmin)似乎都已正确安装。
但是,当我尝试通过浏览器访问 localhost 或 phpMyAdmin 时,我收到错误 Server Not Found。
我尝试过使用:
在所有情况下,我都会遇到相同的错误。
我检查了 httpd 文件,上面写着Listen 80。
C:\Windows\System32\drivers\etc\hosts 说127.0.0.1 localhost。
apache 日志说:
[Sun Mar 04 16:07:51 2012] [notice] Apache/2.2.22 (Win32) PHP/5.3.10 configured -- resuming normal operations
[Sun Mar 04 16:07:51 2012] [notice] Server built: Jan 28 2012 11:16:39
[Sun Mar 04 16:07:51 2012] [notice] Parent: Created child process 2636
[Sun Mar 04 16:07:51 2012] [notice] Child 2636: Child process is running
[Sun Mar 04 16:07:51 2012] [notice] Child 2636: Acquired the start mutex.
[Sun Mar 04 16:07:51 2012] [notice] Child 2636: Starting 64 worker threads.
[Sun Mar 04 16:07:51 2012] [notice] Child 2636: Starting thread to listen on port 80.
还有什么我应该尝试的吗?
【问题讨论】:
-
你有其他运行类似 IIS7 的服务器吗?您是否尝试将 wamp 配置为在 80 以外的端口上启动?
-
@cale_b:您没有完全阅读。他提到了他的主机文件的适当部分。在那里。他还提到他尝试过127.0.0.1。
-
我在使用 5.3.10 和 WAMP 时遇到了类似的问题,但如果我切换到 5.3.0 或(安装并)切换到 5.3.1,它工作正常。