I am trying to access my wordpress site and it was working a couple of days ago and now I am getting a prompt to download the page.
<img src=" " alt="enter image description here">
I have follow instructions on many sites to try and fix this but nothing seems to work. I have tried changing the .htaccess file via <a href="http://www.honeytechblog.com/how-to-fix-applicationx-httpd-php-trouble-in-getting-php-to-parse/" rel="nofollow noreferrer">http://www.honeytechblog.com/how-to-fix-applicationx-httpd-php-trouble-in-getting-php-to-parse/</a>
That didn't work. I try calling my hosting company to make sure PHP was enabled they said it was. I cleared my browser cache. I have open the file it prompts me to download and in it is this
To test to make sure PHP was actually working a made a simple small index.php that echoed THIS IS A TEST and that worked just fine. So I guess it has something to do with Wordpress. Anyone have any suggestions?
<img src=" " alt="enter image description here">
I have follow instructions on many sites to try and fix this but nothing seems to work. I have tried changing the .htaccess file via <a href="http://www.honeytechblog.com/how-to-fix-applicationx-httpd-php-trouble-in-getting-php-to-parse/" rel="nofollow noreferrer">http://www.honeytechblog.com/how-to-fix-applicationx-httpd-php-trouble-in-getting-php-to-parse/</a>
That didn't work. I try calling my hosting company to make sure PHP was enabled they said it was. I cleared my browser cache. I have open the file it prompts me to download and in it is this
Code:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
To test to make sure PHP was actually working a made a simple small index.php that echoed THIS IS A TEST and that worked just fine. So I guess it has something to do with Wordpress. Anyone have any suggestions?