2013-01-16 247 views
1

我想访问我的WordPress的网站,它工作了几天前,现在我得到一个提示下载页面。我被提示下载我的网站在网站打开

enter image description here

我跟随在很多网站上的指示,试图解决这个问题,但似乎没有任何工作。我试图通过http://www.honeytechblog.com/how-to-fix-applicationx-httpd-php-trouble-in-getting-php-to-parse/更改.htaccess文件

这没有奏效。我尝试打电话给我的托管公司,确保他们说这是PHP启用。我清除了我的浏览器缓存。我打开它提示我下载的文件,并在它是这个

<?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'); 
?> 

测试,以确保PHP实际上是一个工作做了一个简单的小的index.php呼应这是一个测试,并且工作得很好。所以我想这与Wordpress有关。任何人有任何建议?

+0

Apache正在返回错误的内容类型头文件:'application/x-httpd-php'而不是'text/html'。向我们展示你的htaccess? – maksimov

+0

我删除了htaccess文件,因为我被告知不是正确的方法来修复它 – j0hnstew

回答