diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-07 10:50:03 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-20 11:22:07 +0100 |
commit | 9369b67df3888ae0b30dda47f5211843f42c6514 (patch) | |
tree | f369ff632d35c608ed14c6465b3016fea8900702 /lib/versioncheck.php | |
parent | fce87f8ddb2d523a503051362a66b7453bc2329b (diff) | |
download | nextcloud-server-9369b67df3888ae0b30dda47f5211843f42c6514.tar.gz nextcloud-server-9369b67df3888ae0b30dda47f5211843f42c6514.zip |
Drop PHP 7.4 support for master (26)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/versioncheck.php')
-rw-r--r-- | lib/versioncheck.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 8477442935a..7c95b333102 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -25,10 +25,10 @@ declare(strict_types=1); * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -// Show warning if a PHP version below 7.4 is used, -if (PHP_VERSION_ID < 70400) { +// Show warning if a PHP version below 8.0 is used, +if (PHP_VERSION_ID < 80000) { http_response_code(500); - echo 'This version of Nextcloud requires at least PHP 7.4<br/>'; + echo 'This version of Nextcloud requires at least PHP 8.0<br/>'; echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; exit(1); } |