Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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