Php downloading files instead






















But after you install it, you will find that some more lines are automatically added by WordPress for Proper functioning. It will download a file called index.

This happens due to compressing of files by some caching plugin or server. I hope this helps you, If your problem is solved by this method.

Kindly let us know in the comments section. I had faced this problem many time but at the end, it solves automatically, but this it is happening again and again. For eg. I have the latest version of PHP and everything is up to date.

I almost 15 articles on this problem. Please help me out with the solution. Niraj this just worked for me, thanks my friend! I tried a few other fixes that I know of and nothing. Your fix got us back online thanks bunches! Viewed k times. Others "location" are commented Improve this question. Paulo Boaventura 1, 1 1 gold badge 7 7 silver badges 27 27 bronze badges.

Apeiron Apeiron 1, 2 2 gold badges 11 11 silver badges 21 21 bronze badges. That's all we can tell you though since you didn't show us any of your config. Thanks Brad — Apeiron. Whichever file or files you put your config in. The relevant part being Show 4 more comments. Active Oldest Votes. Improve this answer. Jack M. Joy, tried your suggestion but it didn't worked.

For php7. Show 10 more comments. I think the restart and incognito mode helped me. Thank a ton for the noobness we can do. Thanks a lot. This made it for me, also after hours trying a lot of other solutions suggested. It was strange to me that my site worked on IE and chrome while in mozilla it downloded the site intead of executing it. It was mozilla's cache fault.

You saved my time bro. Show 1 more comment. If you're using PHP 7. AndrewFox- my filename is php7. So here are my 2 cents, nginx is a web server and not an application server and thus, it can only serve static pages. This is where common gateway interface CGI comes in.

It's a piece of software that manages this communication. Nice explainer. Search forums. Log in. Install the app. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser.

It may not display this or other websites correctly. You should upgrade or use an alternative browser. Issue PHP files are downloaded instead of executing.

Thread starter p0se Start date Sep 12, Tags download php error. The Customer has a secon homepage with exactly the same settings. But without any problems. Last edited: Sep 12, Are you sure the php is active in your subscription setting?

Share link Question share link. Sign Up. Yes, I'm sure. You previously marked this answer as accepted. Are you sure you want to unaccept it? DigitalOcean home. Community Control Panel. Hacktoberfest Contribute to Open Source. Posted September 26, 9. Add a comment. Subscribe Subscribed.

Submit an Answer Submit an answer. Regards, Bobby. Reply Report.



0コメント

  • 1000 / 1000