Bluefish editor related: to view php files in firefox
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
I changed the document root to what is above. There is an option that you can change the document root directory, editing some configuration Apache file in etc/apache2/sites-enabled/ (ubuntu 11). From that time on you can put and run all your *.php files from that directory.But what is the command line that I should put in Bluefish > Prefrences? any idea?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.