2012-03-04 116 views
1

我在Windows 7計算機上安裝了WAMP軟件包,並且所有內容(Apache,php,MySQL,phpMyAdmin)似乎都已正確安裝。localhost - 無法連接

但是,當我嘗試通過瀏覽器訪問localhost或phpMyAdmin時,出現錯誤Server Not Found

我已經嘗試使用:

在所有情況下,我得到了同樣的錯誤。

我檢查了httpd文件,它說Listen 80

C:\Windows\System32\drivers\etc\hosts127.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. 

別的我應該嘗試一下呢?

+1

您是否有任何其他運行IIS7的服務器?您是否嘗試過配置wamp以啓動不同於80的端口? – Tudor 2012-03-04 23:13:15

+0

@cale_b:你沒有完全閱讀。他提到了他的主機文件的適當部分。在那。他還提到他曾嘗試http://127.0.0.1。 – 2012-03-04 23:38:17

+0

我與5.3.10和WAMP有類似的問題,但如果我切換到5.3.0或(安裝和)切換到5.3.1它工作正常。 – 2012-03-23 16:09:34

回答

2

確保你沒有任何其他東西在端口80上運行。Skype實例在默認情況下在端口80和443上偵聽,所以它們與我衝突。如果您還在運行Skype,請轉到選項並選擇連接>高級以使用端口80和443禁用它。

+0

Thans但Skype不運行。 – Tac 2012-03-10 03:17:44

相關問題