我已经搜索了很多,但我似乎找不到答案。我正在我的VPS上设置一个Wordpress网站,但Wordpress没有正确加载。我只是在网站的主页上得到这个:
<?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' );
知道这里可能有什么问题吗?我发现它可能与文件权限有关,但我找不到问题。
(对不起,如果这是一个菜鸟问题)
您需要在Web服务器上安装PHP,您可以使用以下命令通过终端执行此操作:
apt-get install php5