LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-12-2006, 02:53 PM   #1
firedrow
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Problem opening PHP Pages


Whenever I open a PHP page, such as k5n.us/webcalendar.php, in Epiphany or Firefox it loads the page in Screem XML/HTML Editor. It won't load the page for me to view. Any clues?
 
Old 10-13-2006, 09:35 AM   #2
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
Sounds like a problem with your MIME types, try disabling Screem for being default editor of .php files. This can be done in Firefox under "Options->Downloads" I believe.
 
Old 10-13-2006, 10:30 AM   #3
firedrow
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I agree it is a mime problem, but I don't see php under the Download->View & Edit options. I just see media extensions there. AVI, MP3, OGG, FLI, etc.
 
Old 10-13-2006, 10:45 AM   #4
firedrow
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Well I got it fixed by reading some of the similar threads. By deleting ~/.mozilla/firefox/<profile>.default/mime-types.rdf it resets them all, and fixed my problem.
 
Old 10-13-2006, 10:08 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Find any PHP file. Right click it and select Properties. Click the open with tab and you'll be able to select the default application for that mime type. Use the +Add button if the application you want is registered for that mime type.
 
  


Reply

Tags
epiphany, firefox, linux, php, ubuntu


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
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
php pages don't always load msound Linux - General 0 12-23-2005 11:03 AM
yast not opening pages FishBoy Linux - Software 4 08-10-2005 08:29 AM
firefox default browser, opening html pages in new window perfect_circle LinuxQuestions.org Member Success Stories 3 03-29-2005 10:26 AM
[PHP] How do I view PHP pages?? vbp6us Linux - General 4 04-16-2003 06:29 PM


All times are GMT -5. The time now is 01:45 AM.

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