aboutsummaryrefslogtreecommitdiffstats
path: root/lib/versioncheck.php
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2024-04-01 17:31:57 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2024-04-08 11:28:54 +0200
commit9ef70f0c4e94bd32d6b7732d4735c561901cb3df (patch)
treecc21e363dee05f61e6a555df36337f07b713fb11 /lib/versioncheck.php
parent4299c37ae95e571d4e7352293096cb47ee0c752e (diff)
downloadnextcloud-server-9ef70f0c4e94bd32d6b7732d4735c561901cb3df.tar.gz
nextcloud-server-9ef70f0c4e94bd32d6b7732d4735c561901cb3df.zip
feat: drop support for php 8.0
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
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 29c278370cd..394433de29e 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 8.0 is used,
-if (PHP_VERSION_ID < 80000) {
+// Show warning if a PHP version below 8.1 is used,
+if (PHP_VERSION_ID < 80100) {
http_response_code(500);
- echo 'This version of Nextcloud requires at least PHP 8.0<br/>';
+ echo 'This version of Nextcloud requires at least PHP 8.1<br/>';
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
exit(1);
}