LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 12-14-2012, 07:28 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 88

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, 12:49 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 661

Rep: Reputation: 71
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
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,010

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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/Novell 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


All times are GMT -5. The time now is 05:23 PM.

Main Menu
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