How to preview my php file with firefox in bluefish?

1.5k views Asked by At

I have installed bluefish-2.2.7 in win7,my firefox is installed "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
I think that my firefox command was set properly.

enter image description here

When to click the button "preview in browser" ,it ran across the message.

enter image description here

2

There are 2 answers

0
chris mahn On

go to edit > preferences > output parser create a new one call it whatever you want make sure to write in the command section the following. php '%f' && firefox 'localhost/%n'

you can watch my video on youtube https://www.youtube.com/watch?v=gwtzqtPB9Yw

0
Gerton On

I'd think you'll need a web server to view PhP files in your browser, you can easily install a local webserver like WAMP if you're unsing Windows