mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
change new install category sort
This commit is contained in:
@@ -118,11 +118,13 @@ class NexusUpdate extends Command
|
||||
return 0;
|
||||
}
|
||||
if (!$mysqlInfo['match']) {
|
||||
$this->doLog("Error: MySQL version: {$mysqlInfo['version']} is too low, please use the newest version of {$mysqlInfo['minVersion']} or above.", 'error');
|
||||
$minVersion = $mysqlInfo['minVersion'] ?? '5.7.8';
|
||||
$this->doLog("Error: MySQL version: {$mysqlInfo['version']} is too low, please use the newest version of {$minVersion} or above.", 'error');
|
||||
return 0;
|
||||
}
|
||||
if (!$redisInfo['match']) {
|
||||
$this->doLog("Error: Redis version: {$mysqlInfo['version']} is too low, please use {$mysqlInfo['minVersion']} or above.", 'error');
|
||||
$minVersion = $redisInfo['minVersion'] ?? '2.6.12';
|
||||
$this->doLog("Error: Redis version: {$mysqlInfo['version']} is too low, please use {$minVersion} or above.", 'error');
|
||||
return 0;
|
||||
}
|
||||
if ($includeComposer) {
|
||||
|
||||
Reference in New Issue
Block a user