LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-19-2006, 04:57 AM   #1
dyool
Member
 
Registered: Aug 2006
Posts: 60

Rep: Reputation: 15
open php web pages


I can't open web pages that I save in computer with the extension .php using firefox just with Konqueror. If the page have the extension html the's no problem but php dont't open. Why?
 
Old 08-19-2006, 05:08 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
PHP is a server-side language and you should be accessing them through a server, not clicking them in a file browser.
 
Old 08-19-2006, 05:36 AM   #3
dyool
Member
 
Registered: Aug 2006
Posts: 60

Original Poster
Rep: Reputation: 15
But I can open php pages in windows with internet explorer by clicking
 
Old 08-19-2006, 06:59 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
You still shouldn't be, it wouldn't be parsing the PHP code that way. In reality you should have a testing server, either a seperate machine or just install PHP and Apache or lighttpd or on Windows use IIS and access the files by pointing your web browser at 'localhost'.
 
  


Reply



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
Firefox can not open any web pages mandriva 10.2 samuelmp Mandriva 4 05-15-2006 03:46 PM
mail client won't open web pages automatically blastradius Ubuntu 1 04-29-2006 08:53 PM
fedora core 2 can't open any web pages in http samuelmp Linux - Software 1 04-17-2005 08:08 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
Konqueror Prompting to Open Web pages mbeach SUSE / openSUSE 2 11-15-2004 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:13 AM.

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
Open Source Consulting | Domain Registration