This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

After upgrading to FF 3.6.12 I can no longer view PHP pages from my hard drive.

  • 2 replies
  • 17 have this problem
  • 6 views
  • Paskiausią atsakymą parašė DennisG777

more options

After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live.

I can view PHP pages online, but from my hard drive it just spawns endless empty tabs. Instead of just opening the page it asked me what to open it with, thinking the PHP web page is a script.

It was working fine before the upgrade. I had a page open that I wanted to edit, which it reopened when my browser restarted.

Then I edited the page. All I did was add a link to it. Then I hit the refresh button to see the change and instead of reloading the page, FF asked me what to do with the PHP script, prompting me to save it or choose what program to open it with.

I selected to view it with FF and it just spawned endless tabs. They wouldn't stop. Had to shut down FF and it probably had 40 tabs opened with nothing on them. I tried other PHP pages from my hard drive that opened fine before, but it did the same thing with them.

I tried finding help online and I see others have had the same problem, but no solution was offered that worked. I tried rebooting, same story, it wants to know what to do with the PHP script.

I'm being forced to use another browser, so I'm going to go download Chrome now. If this probably isn't fixed soon I'll simply give up on FF. It's not worth the aggravation. I can't tell you how much TIME I've wasted today -- HOURS.

Very disappointed.

After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live. I can view PHP pages online, but from my hard drive it just spawns endless empty tabs. Instead of just opening the page it asked me what to open it with, thinking the PHP web page is a script. It was working fine before the upgrade. I had a page open that I wanted to edit, which it reopened when my browser restarted. Then I edited the page. All I did was add a link to it. Then I hit the refresh button to see the change and instead of reloading the page, FF asked me what to do with the PHP script, prompting me to save it or choose what program to open it with. I selected to view it with FF and it just spawned endless tabs. They wouldn't stop. Had to shut down FF and it probably had 40 tabs opened with nothing on them. I tried other PHP pages from my hard drive that opened fine before, but it did the same thing with them. I tried finding help online and I see others have had the same problem, but no solution was offered that worked. I tried rebooting, same story, it wants to know what to do with the PHP script. I'm being forced to use another browser, so I'm going to go download Chrome now. If this probably isn't fixed soon I'll simply give up on FF. It's not worth the aggravation. I can't tell you how much TIME I've wasted today -- HOURS. Very disappointed.

Modified by DennisG777

All Replies (2)

more options

Sounds that you selected Firefox to open the PHP files.
See Firefox repeatedly opens empty tabs or windows after you click on a link See also "Reset Download Actions": http://kb.mozillazine.org/File_types_and_download_actions

Firefox can't process PHP files.
You need a local web server that processes the PHP code and sends to resulting HTML file as text/html

more options

Thanks for the reply. It doesn't have to process the php, it just has to show the HTML content. It did that just fine before the last upgrade but won't now.

I've seen that page you referenced: http://kb.mozillazine.org/File_types_and_download_actions.

It doesn't help. The things it says to look for aren't there for me, specifically:

browser.download.pluginOverrideTypes plugin.disable_full_page_plugin_for_types

I followed the rest of the instructions but it didn't help.

I did get it to quit opening tabs, instead it prompts me what it should do with the file every time now. What it should do, and used to do, is open the php page and display the HTML content.

Any other ideas?

Modified by DennisG777