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

Problem opening PHP files from localhost (http://) or local drive (file:///) on MacOS X. Firefox opens one wondow after the other endlessly. Applies to FF3 and FF4. Any solution?

  • 2 trả lời
  • 14 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi bdosfan

more options

I am testing my websites I create first from my local MacOS X harddisk (no http server involved). When opening PHP files it happens that firefox (v3. and v4) opens empty windows indefinitely. To avoid this I know have apache httpd running on my localhost, PHP enabled. In certain cases I am asked if I woul'd like to download the *.php file instead of the server processing it and displaying the result. If I confirm the download the same happens, windows popping up endlessly.

Does anyone know about this problem and how to avoid it?

Thanks

I am testing my websites I create first from my local MacOS X harddisk (no http server involved). When opening PHP files it happens that firefox (v3. and v4) opens empty windows indefinitely. To avoid this I know have apache httpd running on my localhost, PHP enabled. In certain cases I am asked if I woul'd like to download the *.php file instead of the server processing it and displaying the result. If I confirm the download the same happens, windows popping up endlessly. Does anyone know about this problem and how to avoid it? Thanks

Tất cả các câu trả lời (2)

more options

See:

Make sure that you do not select Firefox as the application if you get a download dialog because that will open tabs endlessly if you tick the box to remember that choice. You need to remove that action (Firefox > Preferences > Applications)

more options

Thanks cor-el.

In the meantime I did some more research and I guess it's more an apache problem rather than a Firefox issue. Because *.php files should never be delivered to the browser when requested by HTTP://... from a server. And I do see error messages from apache in the error log.

But thanks anyway, you gave me a good hint on where to find some config files for firefox, which I couldn't find without your help!

Thanks again.

bdosfan