Index.php file keep downloading

Hi All,

Hope someone can assist. My site have been down for 2 weeks now. I did a restore of my site with an older version, now the site keeps downloading the index.php file. Can anyone assist. Thanks in advance!

Barring anything else, is the content type (in the htaccess file) telling it to download?

I checked both the .htaccess file and there is no indication of code stating to download the index.php file. I also reviewed that the php7 versions of .htaccess and .index.php are the correctly delivered files, which they are.

I also tried the addhandler and addtype

AddHandler application/x-httpd-php70 .php

AddType application/x-httpd-php .php

I added these to the top of the .htaccess file but no luck

Or if you are using Plesk,

Sponsor our Newsletter | Privacy Policy | Terms of Service