From 8ffd1098ac21e209f4b90e1dde611aa1bd37cf9a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 15 Nov 2023 18:01:19 +0100 Subject: Remove 32bit support int is always the native word size, and we don't really test anything on 32bit OSes anymore. 32bit support already required ugly workarounds in the past for large file sizes and ip2long, so we can finally get rid of those and just put an initial check in install.php. --- install.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install.php') diff --git a/install.php b/install.php index 530298b1..6cbbe91f 100644 --- a/install.php +++ b/install.php @@ -21,6 +21,11 @@ use JetBrains\PhpStorm\NoReturn; +if (PHP_INT_SIZE < 8) { + echo "32bit platforms no longer supported\n"; + exit(1); +} + /** * Report back the update status to the browser/client and terminate execution. * This has to be called by an update module at some point to signal the result -- cgit v1.2.3-55-g7522