We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox is trying to download .php websites

  • 6 replies
  • 4 have this problem
  • 1 view
  • Last reply by cor-el

more options

I just noticed today that Firefox won't load any php websites - it prompts me to download the file. This has never happened before.

I googled for a website I've been to before, clicked on the link (in which the page happens to be a .php extension rather than .html) and it prompts me to download.

I tried clearing my cache, restarting, disabling modal boxes and all the other suggestions on closed threads and nothing is working.

I'm on Funnelcake 14.0.1

I just noticed today that Firefox won't load any php websites - it prompts me to download the file. This has never happened before. I googled for a website I've been to before, clicked on the link (in which the page happens to be a .php extension rather than .html) and it prompts me to download. I tried clearing my cache, restarting, disabling modal boxes and all the other suggestions on closed threads and nothing is working. I'm on Funnelcake 14.0.1

All Replies (6)

more options

I think it probably make sense to jump to renaming the settings file that associates particular content types with particular handlers. Firefox should then revert to its default behavior for PHP files.

See "Reset download actions for all file types" here:

https://support.mozilla.org/en-US/kb/cant-download-or-save-files#w_reset-download-actions-for-all-file-types

Does that help?

Note: "Open Containing Folder" has been changed to "Show Folder" in Firefox 14. (I think you meant Firefox, not funnelcake.) (Edit: Oh, I see about funnelcake: https://support.mozilla.org/en-US/que.../931860)

Modified by jscher2000 - Support Volunteer

more options

renamed the file, but it didn't have any effect.

more options

Could anything be modifying the normal content-type header sent by web servers with php pages (i.e., text/html)? Recently installed/updated add-on, such as a downloader or proxy?

more options

Did you try to clear the cache?

Are you running any web server software that may take over .php files?

Is there a MIME type or action set to the .php file extension in the registry?

  • HKEY_CLASSES_ROOT\.php
  • HKEY_CLASSES_ROOT\MIME\Database\Content Type
more options

Cleared the cache, cookies and everything to scratch.

No web server running.

No MIME type or actions set in the registry.

more options

Create a new profile as a test to check if your current profile is causing the problems.

See "Basic Troubleshooting: Make a new profile":

There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.

If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.

See: