From b99438c9254dd14619d1ae6a0c0eedee3b93ce39 Mon Sep 17 00:00:00 2001 From: tracer Date: Tue, 30 Aug 2022 14:16:25 +0200 Subject: [PATCH 1/5] Lowered required version to php 8.0 --- Controller/UpdateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/UpdateController.php b/Controller/UpdateController.php index b44662b..1979baf 100644 --- a/Controller/UpdateController.php +++ b/Controller/UpdateController.php @@ -33,7 +33,7 @@ class UpdateController exit(1); } - if (PHP_VERSION_ID < 80100) { + if (PHP_VERSION_ID < 80000) { echo 'You need at least php version 8.1.0'; exit(1); } From e3a9fb14544a74348e556e7de50c2766637c6ce6 Mon Sep 17 00:00:00 2001 From: tracer Date: Tue, 30 Aug 2022 14:16:33 +0200 Subject: [PATCH 2/5] Lowered required version to php 8.0 --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.php b/update.php index c6931c7..9a76f32 100755 --- a/update.php +++ b/update.php @@ -1,4 +1,4 @@ -#!/usr/bin/keyhelp-php81 -d apc.enable_cli=1 +#!/usr/bin/env php Date: Tue, 30 Aug 2022 14:18:36 +0200 Subject: [PATCH 3/5] Changed shebang to be more generic, a KeyHelp environment needs an explicit call with keyhelp-php81 --- update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/update.php b/update.php index 9a76f32..3f9f851 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,7 @@ #!/usr/bin/env php Date: Tue, 30 Aug 2022 14:18:58 +0200 Subject: [PATCH 4/5] Changed shebang to be more generic, a KeyHelp environment needs an explicit call with keyhelp-php81 --- update.php | 1 - 1 file changed, 1 deletion(-) diff --git a/update.php b/update.php index 3f9f851..9a76f32 100755 --- a/update.php +++ b/update.php @@ -1,7 +1,6 @@ #!/usr/bin/env php Date: Tue, 30 Aug 2022 14:20:52 +0200 Subject: [PATCH 5/5] Added the changes regarding shebang and php version to the README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 095e8fe..1a4e3dd 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Then: Install composer (https://getcomposer.org/download/) and run `composer install` followed by: -`php update.php` +`php update.php` or `/update.php` If you are using KeyHelp, replace