Bug#671748: iceweasel: cannot open local PHP files as HTML

Mike Hommey mh at glandium.org
Thu May 10 16:33:04 UTC 2012

On Sun, May 06, 2012 at 05:57:32PM +0200, baptx wrote:
> Package: iceweasel
> Version: 10.0.4esr-2
> Severity: important
> Tags: upstream
> Iceweasel is unable to open PHP files without being in the localhost of a web
> server.
> This problem was present in Firefox 3.x
> http://forums.mozillazine.org/viewtopic.php?f=38&t=1923887 and is now working
> on latest orignal Firefox versions.
> If I open a PHP file who is not in the server folder, Iceweasel is asking what
> to do: opening the PHP file or saving it. If I choose to open the file with
> Iceweasel, it pop ups a new window with the same message.
> Check "Do this automatically for files like this from now on" and it will run
> in an infinite loop each time you open a local PHP file!
> Sometimes I need to open PHP files who are not necessarily on a server, I only
> need this files to be interpreted as HTML without PHP functions.
> It is working on original Firefox versions and for a while, I've tried Firefox
> 9 it is working too, on 32bit and 64bit version.
> Opera does this well too.
> I have seen today an update Iceweasel 10.0.4esr-2 (Debian Wheezy) with the same
> problem while original Firefox 10.0.4esr has no issue with local PHP files.
> When creating a new profile the problem is still here.
> So why isn't it working on Iceweasel if "Iceweasel IS Firefox"?
> It is not only a rebranded version of Firefox if some functions are removed!

The main difference that could affect that behavior is that Iceweasel
uses gio instead of gnomevfs.

Some logs would be helpful to understand the issue (that I can't
reproduce, btw). Please set the following environment variables and run
both Iceweasel and Firefox, and send the resulting logs:
  NSPR_LOG_FILE=some_file_name (use a different name for each

> It's a very annoying problem. I hope it will be corrected in the next release.
> By the way, why does it take so long for Iceweasel to be updated, is there so
> much to do than just changing the name and logo of the app?
> I support Iceweasel but it sucks always having an "out of date" version of
> Firefox. Why not following the release channel instead of the ESR?

Check out http://mozilla.debian.net/. Releases are usually available within
hours of the upstream release.


More information about the pkg-mozilla-maintainers mailing list