ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 have this problem
  • 2 views
  • آخر ردّ كتبه 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

All Replies (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