搜索 | 用户支持

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

详细了解

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

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