From a47f884028c3f7d987bdded19894a6862b182313 Mon Sep 17 00:00:00 2001 From: Daniel Klabbers Date: Thu, 28 Jun 2018 11:23:04 +0200 Subject: [PATCH] have install command demand php 7.1 too --- framework/core/src/Install/Console/InstallCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Install/Console/InstallCommand.php b/framework/core/src/Install/Console/InstallCommand.php index 194d7b68b..bd4d1aaf7 100644 --- a/framework/core/src/Install/Console/InstallCommand.php +++ b/framework/core/src/Install/Console/InstallCommand.php @@ -242,8 +242,8 @@ class InstallCommand extends AbstractCommand $db = $this->application->make('flarum.db'); $version = $db->getPdo()->getAttribute(PDO::ATTR_SERVER_VERSION); - if (version_compare($version, '5.5.0', '<')) { - throw new Exception('MySQL version too low. You need at least MySQL 5.5.'); + if (version_compare($version, '7.1.0', '<')) { + throw new Exception('MySQL version too low. You need at least MySQL 7.1.'); } $this->info('Writing config');