php pages on localhost try to download instead of render in firefox most of the time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
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://
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://
100 /var/lib/
sudo apt-cache policy php5:
php5:
Installed: 5.2.10.
Candidate: 5.2.10.
Version table:
*** 5.2.10.
500 http://
100 /var/lib/
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. I have classified this bug as a bug in php5. /wiki.ubuntu. com/ReportingBu gs.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https:/
The browser will ask to download the file if it receives no output from the apache server which in turn gets the output from the php script. Please verify that you are returning data from the PHP script.