我在Ubuntu 18.04上。
我刚刚将服务器从PHP7.2更新为PHP7.3using this guide
之后,我将Apache从Prefork更改为Eventusing this guide
现在,当我访问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\' );
此外,现在所有不同的页面和帖子都显示类似的输出(即显示的是代码而不是实际页面)这是PHP7.3的已知错误还是我做错了什么?
任何帮助和建议都将不胜感激。