My wordpress refuse to load instead it is downloading the install.php file

Please can some one help here.

I’am struggling with wordpress installation; this is the 1st time I’am seeing this issue.

Everything seems ok but when I try to load my web site for the 1st time after fresh wordpress installation. The install.php file is getting downloaded instead of showing the web page. so I cannot even configure the 1st screen. so I’am stack here.

please help.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thanks Guys.

It is now working for me.

I just change a vps and data center.

best regards.


Your web server configuration may be invalid. It is not handling the PHP file properly. Instead, it returns the PHP file to your browser as the downloaded file. You should paste your web server configuration here for further investigation.

Hi @lorenzosmc11,

It seems like the server has some code that it can’t read and doesn’t know what to do with it so it just downloads it for you. Usually, this is a problem with your .htaccess file.

This file can be found in the DocumentRoot folder of your website. Once you find it, please post the content so that I can point out what might be going on.

Regards, KFSys