搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I can't set Firefox to open PHP files with Firefox (in preferences->applications-php files) Firefox won't accept anything but "always ask" and Preview. I want to preview php files in Bbedit and that requires that Firefox can open it.

  • 4 回覆
  • 176 有這個問題
  • 7 次檢視
  • 最近回覆由 Sheriziya

more options

with an open php file in Bbedit (Macintosh) it was possible to preview appearance by chosing "Preview in.." in Bbedit's "Markup" menu. This called Firefox to open and display the file. Now, doing this continually repeats a "Open with (choose)" request.

with an open php file in Bbedit (Macintosh) it was possible to preview appearance by chosing "Preview in.." in Bbedit's "Markup" menu. This called Firefox to open and display the file. Now, doing this continually repeats a "Open with (choose)" request.

所有回覆 (4)

more options

You can only display php that have been processed by a web server and that are send as text/html properly in Firefox. Other MIME types can result in Firefox opening new tabs endlessly and cause a crash if you can't close down Firefox quickly enough.

See also Firefox repeatedly opens empty tabs or windows after you click on a link

more options

You have to delete mimeTypes.rdf. You can find it here (Windows XP): C:\Documents and Settings\Username\Aplication Data\Mozilla\Firefox\Profiles\xxxxxxxx.default.

more options

Hi guys, this has NOTHING to do with Mime-Types, either server or local, the problem is the new Modal Boxes that were introduced. To fix:

  1. in the address bar type about:config
  2. in the filter text-box type in: prompts.tab_modal.enabled
  3. right-click on prompts.tab_modal.enabled and select "Toggle" so that the value reads "False"
  4. Restart FireFox and PHP now loads how it used to!

Enjoy!!

more options

Unfortunately this solution doesn't work for me for local files (on my computer). Still I can only choose to open in Notepad or "other". It seems that I can select Firefox, but it won't do anything when I actually select it.... I did NOT have this problem with the previous version of Firefox (before 6.0.2). The only thing that's changed, is the Firefox update from yesterday (September 28th, 2011).

由 Sheriziya 於 修改