Update upgrade.php with newer requires

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-11-22 15:31:23 -08:00
parent df0b240a05
commit 686e58806f

View file

@ -1,7 +1,7 @@
<?php
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('Access denied.');
$required_version = '7.2.5';
$required_version = '7.4.0';
if ((strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') || (!function_exists('posix_getpwuid'))) {
echo "Skipping user check as it is not supported on Windows or Posix is not installed on this server. \n";
@ -64,6 +64,7 @@ $required_exts_array =
'mysqli|pgsql',
'openssl',
'PDO',
'sodium',
'tokenizer',
'xml',
'zip',