Revert "have install command demand php 7.1 too"

This reverts commit a47f884028c3f7d987bdded19894a6862b182313.
This commit is contained in:
Daniel Klabbers 2018-06-28 11:39:19 +02:00
parent a47f884028
commit dd8c14666f

View File

@ -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, '7.1.0', '<')) {
throw new Exception('MySQL version too low. You need at least MySQL 7.1.');
if (version_compare($version, '5.5.0', '<')) {
throw new Exception('MySQL version too low. You need at least MySQL 5.5.');
}
$this->info('Writing config');