Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbarbushin <barbushin@gmail.com>2015-06-15 11:40:02 +0300
committerbarbushin <barbushin@gmail.com>2015-06-15 11:40:02 +0300
commit28bb8924b1a0ac00c718c4ee6e8a2e90175e6a3a (patch)
treee8dc23af62b0576f3565141969b5c4978a4ecb20 /core/testMinimumPhpVersion.php
parent22a268eab207a418f58407760a33d1cff08d5a2f (diff)
Added 'mbstring.func_overload = 0' as installation requirement
Diffstat (limited to 'core/testMinimumPhpVersion.php')
-rw-r--r--core/testMinimumPhpVersion.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php
index 6bbe380ffb..6f9e735577 100644
--- a/core/testMinimumPhpVersion.php
+++ b/core/testMinimumPhpVersion.php
@@ -38,6 +38,12 @@ if ($minimumPhpInvalid) {
To enjoy Piwik, you need remove <pre>ini_set</pre> from your <pre>disable_functions</pre> directive in php.ini, and restart your webserver.</p>";
}
+ if (ini_get('mbstring.func_overload')) {
+ $piwik_errorMessage .= "<p><strong>Piwik does not works when PHP is configured with <pre>mbstring.func_overload = " . ini_get('mbstring.func_overload') . "</pre></strong></p>
+ <p>It appears your mbstring extension in PHP is configured to override string functions.
+ To enjoy Piwik, you need to modify php.ini <pre>mbstring.func_overload = 0</pre>, and restart your webserver.</p>";
+ }
+
if (!function_exists('json_encode')) {
$piwik_errorMessage .= "<p><strong>Piwik requires the php5-json extension which provides the functions <code>json_encode()</code> and <code>json_decode()</code></strong></p>
<p>It appears your PHP has not yet installed the php5-json extension.