Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 2 trả lời
  • 1 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Được chỉnh sửa bởi ad_verbum vào

Tất cả các câu trả lời (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.