Error displaying WordPress configuration page

[ad_1]

Hello everyone,

I am currently trying to install a WordPress site on my Debian server. I have already once done this successfully, but I messed up some stuff and wanted to reinstall. After configuring a new vhost file and enabling it and disabling the default one, when I go to my website I get the following text:

<?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 __DIR__ . ‘/wp-blog-header.php’;

[ad_2]
1 Comment
  1. Is your php file being outputted to screen? That means you don’t have php installed, or your web server doesn’t know what to do with them.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer