diff options
author | Simon Rettberg | 2023-11-15 18:01:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-11-15 18:01:19 +0100 |
commit | 8ffd1098ac21e209f4b90e1dde611aa1bd37cf9a (patch) | |
tree | c002481ce823abde49a8f65ac3e76f9afd43eeb1 /install.php | |
parent | Fix more type errors, stricter typing (diff) | |
download | slx-admin-8ffd1098ac21e209f4b90e1dde611aa1bd37cf9a.tar.gz slx-admin-8ffd1098ac21e209f4b90e1dde611aa1bd37cf9a.tar.xz slx-admin-8ffd1098ac21e209f4b90e1dde611aa1bd37cf9a.zip |
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.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 |