• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1416
  • Last Modified:

FireFox Prompts "Opening" Dialogue Pop Up - Looks for "application/octet-stream"

Im having a problem with a page (www.securitypartners.com) showing up in FireFox. It shows up fine in IE. When I load the page in FF it prompts a dialogue box to open the file which it says is "application/octet-stream". The files are HTML and PHP based. It looks like a header issue but Im not too familiar with server errors and things of this nature. Any help is appreciated.
  • 2
1 Solution
yeah sounds like the .php filetype is not properly registered in the server/system.

the php mimetype is application/x-httpd-php

If you are running apache on windows, you probably need to add this to your httpd.conf and restart apache

AddHandler application/x-httpd-php .php
The webserver probably has an incorrect mimetype and firefox will not open it by default. Internet explorer is not be that picky of what it opens and does not follow the RFC as firefox does.
Your IIS server is not properly configured to interpret PHP scripts. The pages are returned as-is. The source shows: <?php header("Content-type:text/html"); ?> which means that IIS doesn't pass the file to the PHP interpreter.

Go through the whole PHP / IIS configuration again, to make sure you didn't skip a step somewhere.
If PHP was installed on your machine and you are using IIS, go to your IIS manager and find your "website" and somewhere in there you have to allow/deny services that can run on that website. When you install PHP, it's not "enabled" by default, you have to go in there and allow it to run.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now