diff options
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.'), ]; } |