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

Why I can't make file association for .php extension using 64bits FF?

  • 2 replies
  • 1 has this problem
  • 2 views
  • Last reply by ad_verbum

more options

I can't make file association (.php extension) using 64bits Firefox. When I'm trying to make association using "Programs -> Default Programs -> Associate a file type or protocol with a program" I don't see FF on the list of available programs. If I'm selecting FF manually from its location nothing happens. If I'm using 32bits FF there is no problem. I'm working on the computer with 64 bits windows 7. I tried FF56 and also 57 with the same result.

I can't make file association (.php extension) using 64bits Firefox. When I'm trying to make association using "Programs -> Default Programs -> Associate a file type or protocol with a program" I don't see FF on the list of available programs. If I'm selecting FF manually from its location nothing happens. If I'm using 32bits FF there is no problem. I'm working on the computer with 64 bits windows 7. I tried FF56 and also 57 with the same result.

Modified by ad_verbum

All Replies (2)

more options

If such files contain php directives then the file needs to be processed by server software. In that case the file usually gets the HTML file extension and can be opened with Firefox. If this is actually a valid HTML file then best is to rename the file and change the file extension to .html.

Note that Firefox can do nothing with php code in the file and can't process such directives, so it wouldn't make any sense to select Firefox.

more options

cor-el said

If such files contain php directives then the file needs to be processed by server software. In that case the file usually gets the HTML file extension and can be opened with Firefox. If this is actually a valid HTML file then best is to rename the file and change the file extension to .html.

I know what .php files may contain and fact that FF can't process php code. But often files with .php extension contains html code - are used as containers.

As I wrote I opened such kind of .php files with my FF since years. Problem is why I can't make file association (any kind, not only .php) with 64 bits FF. 32bits FF does that without any problem.

I resolved this problem installing both versions of FF, 32 and 64 bits. When 32 bits FF is installed, 64 bits version "learns" from 32 bits version about file association and is able to open files with .php extension. But I want to know why I can't make that with only 64bits FF installed.