【发布时间】:2019-08-16 02:33:28
【问题描述】:
我将一个 wp 网站从服务器移动到本地主机,并在第一次成功运行它。但是现在我想用新内容移动同一个网站然后我只是替换了以前文件夹中的 DB 和 wp 文件但现在我无法运行该网站它显示以下错误(下载文件)
一旦我尝试:localhost/8888/websitename
它使用以下脚本下载文件:
<?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( dirname( __FILE__ ) . '/wp-blog-header.php' );
【问题讨论】: