LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 12-14-2012, 08:28 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 131

Rep: Reputation: Disabled
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
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 716

Rep: Reputation: 81
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
frieza
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,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
  


Reply


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/Novell 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 07:29 PM.

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