aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-30 18:26:48 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-30 18:26:48 +0200
commit4212ffbdac12ce1404f08444ddf547ea3bfd7de3 (patch)
tree7991689e94c71d69c31006fd2271a252555094d4 /index.php
parentd149f2288d58e0be9d83172ecd857cdb7a9b7e6e (diff)
downloadnextcloud-server-4212ffbdac12ce1404f08444ddf547ea3bfd7de3.tar.gz
nextcloud-server-4212ffbdac12ce1404f08444ddf547ea3bfd7de3.zip
Show error if PHP version below 5.6 is used
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index e42a0bbd7bc..8db4bf6d4e0 100644
--- a/index.php
+++ b/index.php
@@ -25,10 +25,10 @@
*
*/
-// Show warning if a PHP version below 5.4.0 is used, this has to happen here
-// because base.php will already use 5.4 syntax.
-if (version_compare(PHP_VERSION, '5.4.0') === -1) {
- echo 'This version of ownCloud requires at least PHP 5.4.0<br/>';
+// Show warning if a PHP version below 5.6.0 is used, this has to happen here
+// because base.php will already use 5.6 syntax.
+if (version_compare(PHP_VERSION, '5.6.0') === -1) {
+ echo 'This version of ownCloud requires at least PHP 5.6.0<br/>';
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
return;
}