I'm attempting to set up icinga2 and icingaweb2 on a Ubuntu 16.04 system using mariadb as the database. I seem to have icinga set up OK (no errors in the icinga.log, apache error log or syslog) but when I try and navigate to the icinga2 web page I just get a blank page with the following code
<!--?php /*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */ require_once '/usr/share/php/Icinga/Application/webrouter.php'; --> <html> <head><head/> <body><body/> </html>
I get the same code regardless of navigating to /icingaweb2 or /icingaweb2/setup. I have tried to configure the system manually using the instructions on the git documentation, but still the same behaviour.
Any ideas what might be going on here?