Merge pull request #1225 from martijnengler/develop

Fix version check during install. Fixes #1224
pull/1292/head
Tim Zandbergen 2025-01-05 02:14:28 +01:00 committed by GitHub
commit 8870f5ecd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class InstallController extends AbstractController
} else { } else {
$this->addMessage('PHP version: ' . $phpv, 'success'); $this->addMessage('PHP version: ' . $phpv, 'success');
} }
if (version_compare(PHP_RELEASE_VERSION, '7', '<')) { if (version_compare(PHP_MAJOR_VERSION, '7', '<')) {
$this->addMessage( $this->addMessage(
'PHP 5 reaches the end of life (January 1, 2019), please update to PHP 7. 'PHP 5 reaches the end of life (January 1, 2019), please update to PHP 7.
PHP supported versions can be found PHP supported versions can be found