WampServer安装过程中会提示选择默认浏览器,但如果安装好后又喜欢上其他浏览器,并且想更改为WampServer的默认浏览器该怎么办呢?
方法很简单,用记事本(或EditPlus)打开安装目录(以我的安装在D:\wamp为例)下的wampmanager.conf文件,修改如下navigator后面红色粗体部分,指向你想要的浏览器程序文件即可。
[main]
language = “chinese”
status = “offline”
wampserverVersion = 2.0
wampserverLastKnown = 2.0
installDir = “d:/wamp”
navigator = “C:\WINDOWS\explorer.exe” ?###浏览器的路径
默认为navigator = “D:\Soft\Firefox\firefox.exe”
我改成了IE。
wampmanager.ini 下的
[Menu.Left]
Type: separator; Caption: “WAMP5”
Type: item; Caption: “Localhost”; Action: run; FileName: “explorer.exe”; Parameters: “http://localhost/”; Glyph: 5
Type: item; Caption: “phpMyAdmin”; Action: run; FileName: “C:\WINDOWS\explorer.exe”; Parameters: “http://localhost/phpmyadmin/”; Glyph: 5
Type: item; Caption: “SQLiteManager”; Action: run; FileName: “C:\WINDOWS\explorer.exe”; Parameters: “http://localhost/sqlitemanager/”; Glyph: 5
Type: item; Caption: “www directory”; Action: shellexecute; FileName: “c:/wamp/www”; Glyph: 2
Type: submenu; Caption: “Log files”; SubMenu: log_files; Glyph: 3
Type: submenu; Caption: “Config files”; SubMenu: conf_files; Glyph: 3
Type: submenu; Caption: “Apache modules”; SubMenu: apache_mod; Glyph: 3
Type: submenu; Caption: “PHP settings”; SubMenu: php_params; ?Glyph: 3
Type: submenu; Caption: “Alias directories”; SubMenu: alias_dir; Glyph: 3
原来是firefox,后来改成IE
自由转载,转载请注明: 转载自WEB开发笔记 www.chhua.com
本文链接地址: WAMP Server默认浏览器更改/配置 http://www.chhua.com/web-note40
评论