diff --git a/module/VuFind/src/VuFind/Controller/InstallController.php b/module/VuFind/src/VuFind/Controller/InstallController.php
index a1b2736959466c40dd236bb9d6e562584604908e..bb8a6cba058ea1cd046c859b2060f84902920384 100644
--- a/module/VuFind/src/VuFind/Controller/InstallController.php
+++ b/module/VuFind/src/VuFind/Controller/InstallController.php
@@ -295,6 +295,8 @@ class InstallController extends AbstractBase
                 ." For details on how to do this, see "
                 ."http://vufind.org/wiki/vufind2:installation_notes "
                 ."and look at the PHP installation instructions for your platform.";
+            $this->flashMessenger()->setNamespace('error')->addMessage($msg);
+            $problems++;
         }
 
         // Is the XSL library missing?