summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-02-01 10:50:28 +0100
committerGitHub <noreply@github.com>2022-02-01 10:50:28 +0100
commitd635d58d19d5ab65c0be754fc32fce99672c249f (patch)
tree4b9dc1074213fbcce52ae1d1b191c9a801437bf3 /lib
parent16521e9f7c23f255043fac8457fa104ea42b31d0 (diff)
parent910e1aa8e63deb799d91c7d7a331439f3c593f17 (diff)
downloadnextcloud-server-d635d58d19d5ab65c0be754fc32fce99672c249f.tar.gz
nextcloud-server-d635d58d19d5ab65c0be754fc32fce99672c249f.zip
Merge pull request #29286 from nextcloud/enhancement/drop-php-7-3
Drop PHP7.3
Diffstat (limited to 'lib')
-rw-r--r--lib/versioncheck.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/versioncheck.php b/lib/versioncheck.php
index 3e840ff5b46..8477442935a 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.3 is used,
-if (PHP_VERSION_ID < 70300) {
+// Show warning if a PHP version below 7.4 is used,
+if (PHP_VERSION_ID < 70400) {
http_response_code(500);
- echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
+ echo 'This version of Nextcloud requires at least PHP 7.4<br/>';
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
exit(1);
}