[Bug 427190] [NEW] php pages on localhost try to download instead of render in firefox most of the time

Launchpad Bug Tracker 427190 at bugs.launchpad.net
Thu Sep 10 07:26:49 BST 2009


You have been subscribed to a public bug:

I use apache2, php5 and mysql-server to develop web pages on my local
machine. I have been using karmic and keeping it up to date since alpha
3.

When viewing pages on localhost (ie. http://localhost/whatever.php)
sometimes it will render in firefox and sometimes firefox will ask to
download it. While this is annoying and probably serves me right for
using alpha versions but I haven't seen this bug report yet.

I can browse any pages on the web with no issues so I can only assume
that it is a configuration problem with apache or php or a bug in the
current version as it never used to happen on Jaunty.

uname -a:
Linux tim-laptop 2.6.31-10-generic #30-Ubuntu SMP Tue Sep 8 12:32:38 UTC 2009 x86_64 GNU/Linux

apache2 -v:
Server version: Apache/2.2.12 (Ubuntu)
Server built:   Aug 18 2009 13:02:39

php -v:
PHP 5.2.10-2ubuntu3 with Suhosin-Patch 0.9.7 (cli) (built: Sep  8 2009 13:35:29) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH

lsb_release -rd:
Description:	Ubuntu karmic (development branch)
Release:	9.10

sudo apt-cache policy apache2:
apache2:
  Installed: 2.2.12-1ubuntu2
  Candidate: 2.2.12-1ubuntu2
  Version table:
 *** 2.2.12-1ubuntu2 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

sudo apt-cache policy php5:
php5:
  Installed: 5.2.10.dfsg.1-2ubuntu3
  Candidate: 5.2.10.dfsg.1-2ubuntu3
  Version table:
 *** 5.2.10.dfsg.1-2ubuntu3 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
php pages on localhost try to download instead of render in firefox most of the time
https://bugs.edge.launchpad.net/bugs/427190
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list