【问题标题】:Why is WAMP\XAMPP server(Windows 8) localhost working only on Internet Explorer为什么 WAMP\XAMPP 服务器(Windows 8) localhost 只能在 Internet Explorer 上工作
【发布时间】:2014-02-05 04:58:43
【问题描述】:

1.在httpd.conf中将Listen 80改为Listen 0.0.0.0:80

2.在主机中评论::1 localhost

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

【问题讨论】:

  • 您使用的是WampServer 还是XAMPP?它们不是一回事!
  • 我都试过了,但我更喜欢 Wamp

标签: windows browser xampp wamp


【解决方案1】:

很好,我也喜欢 WAMPServer。

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

所以,我假设您的意思是当您使用 Wampmanager 菜单访问 localhostphpmyadmin 时,您希望 Chrome 启动。 Wamp 不寻找系统默认浏览器。它会在安装时询问您要使用的浏览器。如果您想在安装后更改答案,则需要这样做。

我假设您在 C: 驱动器上安装了 WAMPServer。如果不是,则适当更改 C:

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 文件,从那时起它应该使用你想要的浏览器。

【讨论】:

    猜你喜欢
    • 2021-10-24
    • 1970-01-01
    • 2018-08-13
    • 2022-07-31
    • 1970-01-01
    • 2019-12-09
    • 2013-12-14
    • 2015-05-24
    • 2015-01-20
    相关资源
    最近更新 更多