搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox is trying to download .php websites

  • 6 个回答
  • 4 人有此问题
  • 1 次查看
  • 最后回复者为 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

所有回复 (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)

由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: