Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I installed wampserver on my computer. I didn't have firefox or any browser installed. Because I also disabled Internet explorer. How do I manually set the default browser that opens up localhost or phpmyadmin from wampserver when you left click it

share|improve this question

4 Answers 4

up vote 4 down vote accepted

To change the default browser for the tray icon:

  • Open C:\wamp in Windows Explorer (or wherever you installed wampserver)
  • Open wampmanager.conf in a text editor

    • Find the section [main]
    • Find the following line:

      navigator = "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
      
    • Replace it with:

      navigator = “C:\Program Files\Mozilla Firefox\firefox.exe”
      
  • Save the the file
  • Restart the tray icon
share|improve this answer

this may not be exactly what you want, but may work for you. You can set the shortcut properties target, and define which browser to use. This vista example is using chrome, but you can target whichever browser you prefer, just point to the application exe.

 C:\Users\anyUser\AppData\Local\Google\Chrome\Application\chrome.exe --app=http://localhost/default.htm
share|improve this answer

Here is another solution more appropriate I think:

In your main wamp locate the file named wampmanager.ini (seems to be named wampserver.ini on some installs). If you want to change only the browser for localhost, search for the [Menu.Left] section, around line 277. Two lines in that section define the path to the browser for localhost and phpmyadmin. Change it to point to the desired browser.

If you want to change every settings involving the preset browser, run a find command in the file with the browser's name.

share|improve this answer
1  
That's for the old version. See this forum post. –  evan.bovie Jul 2 '12 at 16:59

Open your wampmanager.conf file in a text editor; it is usually in C:/wamp/wampmanager.conf.

Under the section [main], you will find the key navigator. Change its value to the path of your browser. For example:

navigator = "C:/Program Files/Mozilla Firefox/firefox.exe"

Restart the wampserver tray icon.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.