diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-09-10 11:10:38 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-18 09:16:30 +0200 |
commit | fd1c2ef698ae1471019fd499e09cdfb0e95989ae (patch) | |
tree | 7bcc7462d48900b67c06d209942bcebb0840c53b /lib/versioncheck.php | |
parent | 2b7c2a04103d749fe5fcd10628cdd61b4fd1240e (diff) | |
download | nextcloud-server-fd1c2ef698ae1471019fd499e09cdfb0e95989ae.tar.gz nextcloud-server-fd1c2ef698ae1471019fd499e09cdfb0e95989ae.zip |
Nextcloud 21 runs on PHP 7.3+ only
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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 404bae8b191..2f761ba6e37 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -22,10 +22,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -// Show warning if a PHP version below 7.2 is used, -if (PHP_VERSION_ID < 70200) { +// Show warning if a PHP version below 7.3 is used, +if (PHP_VERSION_ID < 70300) { http_response_code(500); - echo 'This version of Nextcloud requires at least PHP 7.2<br/>'; + echo 'This version of Nextcloud requires at least PHP 7.3<br/>'; echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; exit(-1); } |