본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox keeps asking me to open/download PHP file when it used to be able to display properly.

  • 4 답장
  • 6 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

I use to be able to view local PHP files normally in Firefox with the PHP parts not rendered while the HTML parts are. Now all it does is ask whether I want to open or save it.

I've tried editing FF options so that it previews in FF but it doesn't accept any changes. I've cleared my cache and all that. I've tried deleting the mimeTypes.rdf file thing but I can't even find the folder it's in. I've tried disabling/enabling "prompts.tab_modal.enabled" in about:config and restarting FF.

All are no-go solutions.

Web PHP pages are loading properly, this problem only comes when I'm trying to load local PHP files. I don't want to install XAMPP or PHP on my computer just to view local files as I never had this problem before.

In the meantime, I've installed Chrome and it's loading a simple local PHP file just fine whereas FF is asking me to save/download when opening the SAME file. Thanks in advance for any help.

I use to be able to view local PHP files normally in Firefox with the PHP parts not rendered while the HTML parts are. Now all it does is ask whether I want to open or save it. I've tried editing FF options so that it previews in FF but it doesn't accept any changes. I've cleared my cache and all that. I've tried deleting the mimeTypes.rdf file thing but I can't even find the folder it's in. I've tried disabling/enabling "prompts.tab_modal.enabled" in about:config and restarting FF. All are no-go solutions. Web PHP pages are loading properly, this problem only comes when I'm trying to load local PHP files. I don't want to install XAMPP or PHP on my computer just to view local files as I never had this problem before. In the meantime, I've installed Chrome and it's loading a simple local PHP file just fine whereas FF is asking me to save/download when opening the SAME file. Thanks in advance for any help.

선택된 해결법

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder

Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.

문맥에 따라 이 답변을 읽어주세요 👍 2

모든 댓글 (4)

more options

선택된 해결법

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder

Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.

more options

Yup, deleting mimeTypes.rdf and re-starting did the trick this time. Thanks very much!

Also, on a somewhat related note, I cannot view mozillazine.org and any sub-domains under it in any browsers. This may be happening to other users as well?

It's always stuck at "Waiting for ..." or "Connecting to ..." and that's it. Then FF gives up with a "Server connection time-out" notice. Clearing cache and all that doesn't work because I was trying to view those pages before starting this topic.

more options

Same here. Done all the cache deleting, There are no servers involved either. I have my scripts on a remote server ( own website ) when I try to access them ( try them ) FF asks me if I want to download them!!! It never used and I haven't altered anything.

more options

If this is with PHP files then add this header:

<?php header('Content-Type: text/html; charset=utf-8'); ?>