X

An Oracle blog about NetBeans for PHP

Setting up Your Web Browser

This tip explains how to set up different web browsers to view a project or a page. Other web browser configurations are helpful if you want to view a page in Firefox, Internet Explorer, Opera, Safari or any other browser than the default system one. It can also help you when you need to test your applications with different versions of a browser.

After installation or when running the IDE with a fresh userdir, NetBeans uses the default system browser. When you invoke Run or Debug on a PHP project that uses Local Web Site or Remote Web Site Run Configuration, a browser is launched and the project URL is displayed in the browser. Run and Debug Single File actions work in a similar way for individual PHP or HTML files. 

You can change or add a new browser configuration in the Option dialog.

In the Web Browser combobox you can select from predefined configurations. When you press the Edit... button, you can change the existing configurations or you can simply add a new one.

Join the discussion

Comments ( 4 )
  • Courtney Miles Wednesday, October 1, 2008

    I'm unable to change the arguements for the default browser. After I change the arguement and click ok the arguement reverts to it's previous value. I'm using todays Windows development build


  • Petr Thursday, October 2, 2008

    Hi Courtney,

    you are right, I'm not able to change the arguments for the Default System Browser on my linux machine as well. It works for others configurations, but not for Default System Browser configuration.

    You can workaround this, if you choose another configuration, but it's really a bug. I have entered new issue http://www.netbeans.org/issues/show_bug.cgi?id=148971 .

    Thanks,

    Petr


  • Sesli Chat Friday, March 26, 2010

    Hello

    you are right, I'm not able to change the arguments for the Default System Browser on my linux machine as well. It works for others configurations, but not for Default System Browser configuration


  • guest Friday, April 20, 2012

    hii..i m running 2 projects on netbeans can i set different browser for both different projects..IE and Firefox


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.