安裝了wamp 在瀏覽器裏面輸入http://localhost 就是跳不出wamp安裝成功的界面。從新卸了裝,裝了卸,折騰了好幾遍,原來是80端口被佔用了啊!!php
wamp中的Apache修改以下:mysql
左鍵托盤圖標,選中Apache中的httpd.conf ,打開。找到」listen80「,和」ServerName localhost「修改端口號。我修改成8088web
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 8088sql
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:8088shell
重啓wamp能夠生效,找到wamp安裝目錄下的wampmanager.tpl用記事本打開。apache
[Menu.Left]
;WAMPMENULEFTSTART
Type: separator; Caption: "Powered by Alter Way"
Type: item; Caption: "${w_localhost}"; Action: run; FileName: "${c_navigator}"; Parameters: "http://localhost:8088/"; Glyph: 5
Type: item; Caption: "${w_phpmyadmin}"; Action: run; FileName: "${c_navigator}"; Parameters: "http://localhost:8088/phpmyadmin/"; Glyph: 5
Type: item; Caption: "${w_wwwDirectory}"; Action: shellexecute; FileName: "${wwwDir}"; Glyph: 2
Type: submenu; Caption: "Apache"; SubMenu: apacheMenu; Glyph: 3
Type: submenu; Caption: "PHP"; SubMenu: phpMenu; Glyph: 3
Type: submenu; Caption: "MySQL"; SubMenu: mysqlMenu; Glyph: 3
Type: separator; Caption: "Debug"
;Type: item; Caption: "Client XDebug"; Glyph: 6; Action: run; FileName: "${c_installDir}/tools/xdc/xdc.exe"
Type: item; Caption: "${c_webgrind}"; Action: run; FileName: "${c_navigator}"; Parameters: "http://localhost:8088/webgrind/"; Glyph: 5
Type: separator; Caption: "Quick Admin"瀏覽器
修改localhost後面端口號爲8088,保存,退出並重啓wamp,尚可生效。ui
經過以上修改,能夠打開頁面從新輸入localhost:8088.就能夠跳出安裝成功的頁面啦!!即:this