求助!Flarum安装后一直无法访问!!!

我在虚拟机内部安装了Flarum,但是部署完成后出现了问题:
浏览器访问IP不是网页,而是下载。
我寻遍了可能的解决方案,但都没有解决。
甚至我问了AI聊天机器人,它给不出解决方案。
这个问题怎么解决?
(附件待会发)

下载的文件内容如下:

<?php

/*
 * This file is part of Flarum.
 *
 * For detailed copyright and license information, please view the
 * LICENSE file that was distributed with this source code.
 */

$site = require '../site.php';

/*
|-------------------------------------------------------------------------------
| Accept incoming HTTP requests
|-------------------------------------------------------------------------------
|
| Every HTTP request pointed to the web server that cannot be served by simply
| responding with one of the files in the "public" directory will be sent to
| this file. Now is the time to boot up Flarum's internal HTTP server, which
| will try its best to interpret the request and return the appropriate
| response, which could be a JSON document (for API responses) or a lot of HTML.
|
*/

$server = new Flarum\Http\Server($site);
$server->listen();

下载回来的是啥内容?

哦你贴了,是 PHP 源码。你是怎么配置你的 HTTP 服务器的?

当时我记得当时用的是Nginx作为HTTP服务器,当时我以为是我安装PHP的时候有问题,后面在虚拟机尝试搭建Typecho的测试环境的时候,才意料到忘记取消注释它的PHP专属include模块了!!