LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-18-2006, 04:28 PM   #1
stefanlasiewski
Member
 
Registered: Aug 2003
Location: Berkeley, California, USA
Distribution: Red Hat Enterprise Linux, Debian & Ubuntu
Posts: 92

Rep: Reputation: 16
Suse 9.3/apache2/php4 - Firefox tries to download index.php, other *php pages work


Hey Gang,

I just upgraded a machine from Suse 9.0 to 9.3, and inalled all the latest updates including apache2-2.0.53-9.7 and apache2-mod_php4-4.3.10-14.16. This system is using the default Apache configuration provided in /etc/apache2.

When I use Firefox to http://example.org/index.php , my browser tries to download the page instead of rendering the page. This happens with a handful of pages. That sounds familiar, right? It's a simple issue with the mime-type, or a missing phplib, etc.

However, when I browse to another page http://example.org/user_admin.php , the page displays just fine. The PHP code renders, Apache diplays the page, etc.

All pages work fine when browsing with IE6. This problem only happens with Firefox.

I haven't run into this specific issue on other distros, so perhaps it's a Suse-specific issue. I thought I would ask here.

Thanks!

-= Stefan
 
Old 01-18-2006, 06:12 PM   #2
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
Um, the php pages - are they local to your machine or on someone's server. For example (pardon the pun) does this page show up okay in FF or do you see HTML output?

If you see HTML output then yeah - it is a mime-type thingy. You can probably mess with those in your KDE Control Panel. (If you have Gnome, I'm sorry.)
 
  


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
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
Apache2.0.52 + php4.39 +firefox downloading php rather than display mdkelly Linux - Software 3 10-30-2004 09:31 PM
My Apache2 fails to parse php-scripts in html pages 3-1415 Linux - Software 6 10-21-2004 05:59 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
php4 problem _ downloading index.php instead of displaying tharris Debian 2 10-24-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration