![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Why I can't make file association for .php extension using 64bits FF?
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.
Novain'i ad_verbum t@
All Replies (2)
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.
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.