为什么WAMP \ XAMPP服务器(Windows 8)localhost仅在Internet Explorer上工作

时间:2014-01-16 10:31:04

标签: windows browser xampp wamp

1.在httpd.conf

中将Listen 80更改为Listen 0.0.0.0:80

2.在主持人中评论::1 localhost

3.Tried将默认浏览器更改为Chrome

1 个答案:

答案 0 :(得分:1)

好我也喜欢WAMPServer。

所以这个答案仅适用于WAMPServer!

因此,我认为您的意思是,当您使用Wampmanager菜单访问localhostphpmyadmin时,您希望启动Chrome。 Wamp不会查找系统默认浏览器。它会询问您在安装时要使用的浏览器。如果您想在安装后更改答案,则需要执行此操作。

我假设您在C:驱动器上安装了WAMPServer。如果没有,那么改变C:appropriatly

Stop WAMPServer.
    i.e. on the wampmanager icon in the system tray [ Right Click -> Exit ]

Edit this file `c:\wamp\wampmanager.conf`

Change this parameter so it references where you have installed Chrome.
It is within the [main] section on roughly line 7

    navigator = "C:\Users\xxxxx\AppData\Local\Google\Chrome\Application\chrome.exe"

Save the file.

Start WAMPServer again.

当你启动WAMPServer时,它将检查wampmanager.conf文件,然后它应该使用你想要的浏览器。