Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 12-14-2012, 07:28 AM   #1
Registered: Nov 2012
Location: London
Distribution: Mint 18.2, Fedora 27, NHSbuntu, Ubuntu 15.10
Posts: 328

Rep: Reputation: 10
php with firefox

I have suse 12.2 and cannot work without php on firefox. How do I get firefox to recognize php? Any help would be appreciated.
Old 12-14-2012, 12:49 PM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 978

Rep: Reputation: 118Reputation: 118
Browsers (firefox, IE, Safari, Opera, ...) don't know anything about PHP - they cannot interpret it. It's what lies inbetween (apache, some framework...) that translates PHP into something that the browser can understand (html, javascript, ...).
Old 12-14-2012, 05:47 PM   #3
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,225

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
php is in fact a server-side language, which means you need a web server, such as a pache
the web server i'm most familiar with is
you have to install apache, and php than configure a 'document root' for apache, put your php scripts in a folder under that, then brows to 'localhost/folder/phpscript.php'

Last edited by frieza; 12-14-2012 at 05:48 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i run firefox using exec() in php? vaporizel Linux - Software 1 11-09-2010 05:46 AM
Firefox does not recognise php files and ask what to do with them eypros Linux - Server 6 08-09-2009 05:06 AM
Suse 9.3/apache2/php4 - Firefox tries to download index.php, other *php pages work stefanlasiewski SUSE / openSUSE 1 01-18-2006 06:12 PM
Firefox making PHP source available? koyi Linux - Security 11 12-08-2005 02:13 AM
firefox cant display php Xris718 Linux - General 3 11-01-2005 10:02 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration