Firefox wants to download php files






















Pavel Pavel 4, 10 10 gold badges 32 32 silver badges 47 47 bronze badges. What web server are you using? Is it Apache? Are you sending any custom headers? Have other PHP scripts worked fine before? Can you post the rest of the code? Add a comment. Active Oldest Votes. Because your web server is not correctly configured to process PHP scripts.

Improve this answer. Ignacio Vazquez-Abrams Ignacio Vazquez-Abrams k gold badges silver badges bronze badges. Thanks for the hint. Could you please provide more details on that? What do I have to change in my server config? Pavel Please answer the comment questions first.

Is PHP installed at all? What server are you using? It is apache and php is installed because I'm running other script without any problems. Imran Naqvi Imran Naqvi 2, 4 4 gold badges 25 25 silver badges 51 51 bronze badges.

Daniel Trebbien Daniel Trebbien Amal Murali 72k 18 18 gold badges silver badges bronze badges. Mark Chorley Mark Chorley 2, 2 2 gold badges 20 20 silver badges 29 29 bronze badges. Julien Roncaglia Julien Roncaglia Thanks Virtual for the answer but this is not what I wanted.

The thing is I don't want to download anything here. I just want to create the. Same here. Done all the cache deleting, There are no servers involved either. I have my scripts on a remote server own website when I try to access them try them FF asks me if I want to download them!!! It never used and I haven't altered anything. Search Support Search. Home Support Forums Firefox Firefox keeps asking me to Learn More. All are no-go solutions. But have no idea what to do.

It is commonly used to as default test file for php to see if it's working. So it's certainly not index. That doesn't mean you shouldn't be able to view the file in a web browser. You say php is installed, but is it enabled as well cfr.

How would I check it if is enabled? Could it be related to me setting up the database up wrong in phpmyadmin? Either way, the php in that folder isn't being processed how it should. It escapes me at the moment how to correct the directives, hopefully someone who remembers will jump in. How do you have the permissions for that folder set up in apache? There's a 'link' option that may be giving you trouble I have no idea on the rest, I just followed a guide.

Try looking in the apache log files it might provide a clue. If you have a tab open in the background to the page it'll still carry the error over. Have you got the links php5.



0コメント

  • 1000 / 1000