After installation of icingaweb2 I get basic php page

I just finished installing Icinga2 (working fine) and Icingaweb2, and tried to go to the /icingaweb2/setup page and all I get is this:

" <?php
/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */

require_once ‘/usr/share/php/Icinga/Application/webrouter.php’; "

Icinga Web 2 version: 2.8.2-1
Browser: Brave, Firefox, and Chrome
Icinga2 version: r2.12.3-1
php version: 7.4.3
Server OS/Distro: Ubuntu Server 20.04

I followed the directions from the site as closely as possible, and yes “libapache2-mod-php” was manually installed.

I backed down the php version to 7.2, and no luck getting any difference.

I just finished installing Icinga2 (working fine) and Icingaweb2, and tried to
go to the /icingaweb2/setup page and all I get is this:

" <?php

/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */

I’m sorry that this isn’t any answer to your question, and is in fact more of
a comment to the developers, however I’m surprised at the “(c) 2014”
notification you see, compared to what my Icingaweb 2.8.2 shows from the menu
“System - About”:

Icinga Web 2 Version 2.8.2
Git commit 8a89839af94a247ee2149b2336c73b8251b477c0
PHP Version 7.0.33-0+deb9u10
Git commit date 2020-08-17
Copyright © 2013-2021 The Icinga Project

Antony.

Well, I refreshed the install (thank goodness for Ansible Tower and Virtualization) of the OS, and followed the directions here: kifarunix.com
And, it turned out just fine. I’m really not sure what the problem was but the docs on the Icinga2 and Icingaweb2 for installing are just not quite there.
There should be some kind of alert that php higher than 7.2 isn’t supported.

OH, realized the problem may have been the attempt to setup php-fpm (not sure what’s the deal with that or what it buys me, but that may have been the straw that broke the donkey’s back.