From 9f7205a27eceb3ffc27b0b8899f55e2bbe221474 Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Wed, 26 Jul 2023 19:36:33 -0500 Subject: [PATCH 1/4] drop support for anything lower than 7.4. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b0626c35..c76e0b79 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,7 @@ improvements. Requirements ------------ -1. PHP >= 5.4 (we still try to keep compatibility with php 5.3 as much as possible) - PHP 7.0 is explicitly supported. PHP 7.2 works as well, but may cause as yet unreported bugs. +1. PHP >= 7.4 2. MySQL/MariaDB server 3. [mbstring](http://www.php.net/manual/en/mbstring.installation.php) 4. [PHP GD](http://www.php.net/manual/en/intro.image.php) From 3413e74f24e756aaf458c249cbd1da7de052b4c1 Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Wed, 26 Jul 2023 19:37:57 -0500 Subject: [PATCH 2/4] discontinue older versions of php --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f48f7f55..1a32fd9c 100644 --- a/composer.json +++ b/composer.json @@ -3,9 +3,9 @@ "description": "vichan imageboard", "type": "project", "require": { - "ext-mbstring": ">=5.4", - "ext-gd": ">=5.4", - "ext-pdo": ">=5.4", + "ext-mbstring": ">=7.4", + "ext-gd": ">=7.4", + "ext-pdo": ">=7.4", "twig/twig": "^2.9", "phpmyadmin/twig-i18n-extension": "^4.0", "lifo/ip": "^1.0", From 14ae2d7d06fb8fe05ba05f7c00e68c7b527b51f2 Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Wed, 26 Jul 2023 20:59:37 -0500 Subject: [PATCH 3/4] discontinue php versions before 7.4 --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index 1662ae77..b894f46c 100644 --- a/install.php +++ b/install.php @@ -729,10 +729,10 @@ if ($step == 0) { $tests = array( array( 'category' => 'PHP', - 'name' => 'PHP ≥ 5.4', + 'name' => 'PHP ≥ 7.4', 'result' => PHP_VERSION_ID >= 50400, 'required' => true, - 'message' => 'vichan requires PHP 5.4 or better.', + 'message' => 'vichan requires PHP 7.4 or better.', ), array( 'category' => 'PHP', From 2ade0b0c8acb24a4c4ebcb94e2bec359dc29d56e Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Wed, 4 Oct 2023 21:33:37 -0700 Subject: [PATCH 4/4] Update composer.json --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index 1a32fd9c..a9e17c7e 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,11 @@ "name": "vichan-devel/vichan", "description": "vichan imageboard", "type": "project", + "config": { + "platform": { + "php": ">=7.4" + } + }, "require": { "ext-mbstring": ">=7.4", "ext-gd": ">=7.4",