搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 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.

由ad_verbum于修改

所有回复 (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.