Download your favorite Linux distribution at LQ ISO.
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, 08:28 AM   #1
Registered: Nov 2012
Location: London
Distribution: Mint 17.2, Fedora 23, Ubuntu 15.10
Posts: 204

Rep: Reputation: 2
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, 01:49 PM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 923

Rep: Reputation: 103Reputation: 103
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, 06: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,199

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
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 06: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 06:46 AM
Firefox does not recognise php files and ask what to do with them eypros Linux - Server 6 08-09-2009 06:06 AM
Suse 9.3/apache2/php4 - Firefox tries to download index.php, other *php pages work stefanlasiewski SUSE / openSUSE 1 01-18-2006 07:12 PM
Firefox making PHP source available? koyi Linux - Security 11 12-08-2005 03:13 AM
firefox cant display php Xris718 Linux - General 3 11-01-2005 11:02 AM

All times are GMT -5. The time now is 08:20 PM.

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