Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

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 respostas
  • 14 têm este problema
  • 2 visualizações
  • Última resposta por 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

Todas as respostas (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