显示空白页面的icingaweb2

我试图在Ubuntu 16.04系统上使用mariadb作为数据库来设置icinga2和icingaweb2。 我似乎有icinga设置好(icinga.log,Apache错误日志或系统日志中没有错误),但是当我尝试导航到icinga2网页,我只是得到一个空白页,下面的代码

<!--?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> 

无论导航到/ icingaweb2还是/ icingaweb2 / setup,我都会得到相同的代码。 我已经尝试使用git文档上的说明手动configuration系统,但仍然是相同的行为。

任何想法可能发生在这里?

彼得。

我有这个问题。 我遵循这一点,它为我解决了这个问题: icinga

解决方法是: apt-get -y install php7.0 libapache2-mod-php7.0

欢呼亚历克西斯

我试了一下,得到了一些堆栈跟踪。 请参阅https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1574250