From cbd60be404f4f3c656e9cf768ecd4dcf1112e8c9 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 28 Jan 2018 16:34:06 +1100 Subject: [PATCH] CRM-21719 Require Multibyte PHP extension --- install/index.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/index.php b/install/index.php index 166bd2a8ef..2367eab45b 100644 --- a/install/index.php +++ b/install/index.php @@ -727,6 +727,13 @@ class InstallRequirements { ts("JSON support not included in PHP."), )); + // check for Multibyte support such as mb_substr. Required for proper handling of Multilingual setups. + $this->requireFunction('mb_substr', array( + ts("PHP Configuration"), + ts("Multibyte support"), + ts("Multibyte support not enabled in PHP."), + )); + // Check for xcache_isset and emit warning if exists $this->checkXCache(array( ts("PHP Configuration"), -- 2.25.1