diff --git a/module/VuFind/src/VuFind/Controller/InstallController.php b/module/VuFind/src/VuFind/Controller/InstallController.php
index 2a1fa83faade07451c1dbc59a3215fa547df1d44..2a15aab5207d7a373db03b61fc7eb6a056d3c38f 100644
--- a/module/VuFind/src/VuFind/Controller/InstallController.php
+++ b/module/VuFind/src/VuFind/Controller/InstallController.php
@@ -688,6 +688,9 @@ class InstallController extends AbstractBase
      */
     public function performsecurityfixAction()
     {
+        // This can take a while -- don't time out!
+        set_time_limit(0);
+
         // First, set encryption/hashing to true, and set the key
         $config = $this->getConfig();
         $configPath = ConfigLocator::getLocalConfigPath('config.ini', null, true);