diff options
author | szaimen <szaimen@e.mail.de> | 2022-11-01 14:03:48 +0100 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2022-11-02 11:13:34 +0100 |
commit | dd8774389e21b59c07882580356d51de018fe867 (patch) | |
tree | 8abfe35c70004ca0d6e4df70098cf63cb087e6ec /lib/private/Setup.php | |
parent | 075a87670d4157086974d84972553914078c203b (diff) | |
download | nextcloud-server-dd8774389e21b59c07882580356d51de018fe867.tar.gz nextcloud-server-dd8774389e21b59c07882580356d51de018fe867.zip |
remove 32-bit workarounds
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r-- | lib/private/Setup.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 3b79b31b849..7b08fb2f66f 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -247,14 +247,13 @@ class Setup { ]; } - if ($this->iniWrapper->getString('open_basedir') !== '' && PHP_INT_SIZE === 4) { + if (PHP_INT_SIZE < 8) { $errors[] = [ 'error' => $this->l10n->t( - 'It seems that this %s instance is running on a 32-bit PHP environment and the open_basedir has been configured in php.ini. ' . - 'This will lead to problems with files over 4 GB and is highly discouraged.', + 'It seems that this %s instance is running on a 32-bit PHP environment. 64-bit is required for 26 and higher.', [$this->defaults->getProductName()] ), - 'hint' => $this->l10n->t('Please remove the open_basedir setting within your php.ini or switch to 64-bit PHP.'), + 'hint' => $this->l10n->t('Please switch to 64-bit PHP.'), ]; } |