diff options
author | szaimen <szaimen@e.mail.de> | 2022-07-11 16:46:31 +0200 |
---|---|---|
committer | Simon L. (Rebase PR Action) <szaimen@e.mail.de> | 2022-07-13 09:33:33 +0000 |
commit | cf9b1082ed4550d3ece15d1c2cc613a0a5e008bc (patch) | |
tree | 0a17d7528b39dcb1b99cacd9aef6d7ef4a032f59 /core/js/setupchecks.js | |
parent | 22de24324728025c5299850317fc697b33375caf (diff) | |
download | nextcloud-server-cf9b1082ed4550d3ece15d1c2cc613a0a5e008bc.tar.gz nextcloud-server-cf9b1082ed4550d3ece15d1c2cc613a0a5e008bc.zip |
add a setup check for 64 bit
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 6fd6fce5dcf..ec9ffbe604e 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -421,6 +421,15 @@ type: OC.SetupChecks.MESSAGE_TYPE_INFO }) } + if (!data.is64bit) { + messages.push({ + msg: t( + 'core', + 'It seems like you are running a 32bit PHP version. Nextcloud needs 64bit to run well. Please upgrade your OS and PHP to 64bit!' + ), + type: OC.SetupChecks.MESSAGE_TYPE_WARNING + }) + } if (data.imageMagickLacksSVGSupport) { messages.push({ msg: t('core', 'Module php-imagick in this instance has no SVG support. For better compatibility it is recommended to install it.'), |