Update minimum PHP requirements to 7.2.5

This commit is contained in:
snipe 2021-02-02 21:05:37 -08:00
parent 1e062d4fc8
commit bf7a856fa6
2 changed files with 2 additions and 2 deletions

View file

@ -279,7 +279,7 @@ return [
|
*/
'min_php' => '7.1.3',
'min_php' => '7.2.5',
/*

View file

@ -1,7 +1,7 @@
<?php
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('Access denied.');
$required_version = '7.2.0';
$required_version = '7.2.5';
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";