Comment 8 for bug 1574250

Revision history for this message
Nish Aravamudan (nacc) wrote :

Hello and thank you for filing this bug! I apologize for not replying until now.

I believe the following steps are the most trivial steps to the two issues you found.

1) php-fpm is preferred over libapache2-mod-php by default.
 - This is why you didn't get a browser loaded by default.
 - If you had installed php first (and specified libapache2-mod-php as the satisfier at the time), you would have not seen this.
 - I think given that it doesn't seem like icingaweb2 is shipping a working FPM configuration, we should mark the dependency as specifically on libapache2-mod-php (in 16.04).
 - In the short term `apt install libapache2-mod-php` will fix this.
   * Note, though, that since zend-framework has already been installed at this point, possibly, the config has not been enabled for apache2, even though it is on for the cli. So after installing the package, run:
    + `phpenmod zend-framework`

2) zend-framework in Ubuntu (in Debian, this is called zendframework).
 - By default, we are not enabling the zend framework at install time. I do not know why this is the case, as it doesn't seem sensible (and violates the principle of least surprise).
 - In the short term, edit /etc/php/7.0/mods-available/zend-framework.ini to modify teh include_path to not be commented out.
  * Restart apache2.

This worked for me starting from a fresh Xenial container.