Skip to main content
Legend
December 21, 2016
Question

Brackets/Firefox/php

  • December 21, 2016
  • 1 reply
  • 2248 views

Anyone managed to get Brackets to open up with Firefox to show php pages?

I've been using Chrome which works fine but would really like to have Firefox as the default.

If i select 'Enable Experimental Live View' under 'File' it shows .html files in Firefox but asks for a base url  if I try and view a php file. I've put just about every string I can think of, like:

http:/localhost/project_folder_name

(this shows php files in Chrome - but not Firefox)

So then I tried:

http://127.0.0.1:59216/

(this shows html files in Firefox but not php pages)

http://localhost:59216/

(this shows html files in Firefox but not php pages)

As much as I like Brackets it seems there might be a huge issue, by default it only works with the Chrome browser, what use is that. Looks like I might be on the move again trying to find a sensible bit of software.

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    December 21, 2016

    According to their Wiki, viewing anything but HTML files in another browser is one of the limitations in Live Experimental View.  

    How to Use Brackets · adobe/brackets Wiki · GitHub

    Here's what I do in Brackets.

    1. Release 1.6 build 1.6.0-16680 on Win10
    2. I keep my site files in my Local Testing Server's default web folder (www/ or htdocs/).
    3. I open a PHP file and click on the Lightening bolt which fires up Preview in Chrome. 
    4. Copy the URL from Chrome address bar & paste into Firefox.
      localhost / site_folder / current_page.php
    Nancy O'Shea— Product User & Community Expert
    osgood_Author
    Legend
    December 21, 2016

    Nancy OShea wrote:

    According to their Wiki, viewing anything but HTML files in another browser is one of the limitations in Live Experimental View.

    How to Use Brackets · adobe/brackets Wiki · GitHub

    Here's what I do in Brackets.

    1. Release 1.6 build 1.6.0-16680 on Win10
    2. I keep my site files in my Local Testing Server's default web folder (www/ or htdocs/).
    3. I open a PHP file and click on the Lightening bolt which fires up Preview in Chrome.
    4. Copy the URL from Chrome address bar & paste into Firefox.
      localhost / site_folder / current_page.php

    Similar workflow to what I do but its a bit of a pain that Brackets is a one browser wonder at the moment.

    I hope it will be developed going forward but I have my doubts........it might be left to gather dust.

    I have found it to be the best of the rest so far, with some minor issues. I'll guess I'll stick with it for now and see if it develops.

    I would'nt even mind paying for this IF there were regular advancements and updates, no necessity to add in all the junk, just keep it lean and mean.

    BenPleysier
    Community Expert
    Community Expert
    December 21, 2016

    To open the system's default browser in Brackets

    1. File > Enable Experimental Live Preview

    2. Debug > Open Preferences File

    3. Two files are opened in Brackets, choose brackets.json

    4. Insert a new line 2 (inside the curly brackets)

    5. Enter the following

    "livedev.multibrowser": true,

    6. Save the file

    7. Open index.html in brackets and hit the Live Preview button

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!