Bluefish editor related: to view php files in firefox
Hi everyone?
I'm using bluefish editor. I'd like to run my coded php files in browser (firefox). I mean -I open *.php file in bluefish editor. -I press 'view in browser button' . -I am able to render php file in browser run in localhost. I use Ubuntu 11.10, I have LAMP installed, My php files are in /home/janos/workspace. I already found out that I have to enter an external command in Bluefish for the browser or something like that. Preferences > Edit preferences # External commands # Firefox. What command should I put there? Anyone any idea? Or if that's not the way to view php files than HOW? Thanx in advance |
In order to enable interpreting of the php files by your browser, they need to be located in the DocumentRoot. On my home webserver (Fedora 10), that location is /var/www.html. I've set the group ownership of that directory to my normal, non-root user, and have a symlink in my home directory to /var/www/html.
|
Quote:
|
Haven't used Bluefish in a few years now (haven't had any web pages to create), but I believe the only thing you have to tell Bluefish is the command to load your preferred browser; something like firefox or firefox %s
|
All times are GMT -5. The time now is 01:20 AM. |