mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
CheckRequirementsCommand now recommends PHP 8.2
This commit is contained in:
parent
4e9d93957e
commit
cd1413a74e
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ class CheckRequirementsCommand extends Command
|
|||
{
|
||||
//Check PHP versions
|
||||
$io->isVerbose() && $io->comment('Checking PHP version...');
|
||||
if (PHP_VERSION_ID < 80100) {
|
||||
//We recommend PHP 8.2, but 8.1 is the minimum
|
||||
if (PHP_VERSION_ID < 80200) {
|
||||
$io->warning('You are using PHP '. PHP_VERSION .'. This will work, but a newer version is recommended.');
|
||||
} else {
|
||||
!$only_issues && $io->success('PHP version is sufficient.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue