Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-10 12:10:38 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-18 10:16:30 +0300
commitfd1c2ef698ae1471019fd499e09cdfb0e95989ae (patch)
tree7bcc7462d48900b67c06d209942bcebb0840c53b /lib/versioncheck.php
parent2b7c2a04103d749fe5fcd10628cdd61b4fd1240e (diff)
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.php6
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);
}