$text = '<p>You are using old, unsupported PHP version.</p><p>Your PHP version: <b>' . phpversion() . '</b>, required PHP version: <b>5.3.0</b>.</p><p>Please update your PHP installation and try again.</p>';
$text = '<p>You are using old, unsupported PHP version.</p><p>Your PHP version: <b>' . phpversion() . '</b>, required PHP version: <b>5.4.0</b>.</p><p>Please update your PHP installation and try again.</p>';
die(showError($title, $text));
}
if (!extension_loaded("mbstring")) {
$title = 'MBString extension is missing';
$text = '<p>Required PHP extension: <code>mbstring</code> has not been found on the server.</p>
<p>Follow <ahref="http://askubuntu.com/a/772505">this instructions</a> if you are using Ubuntu 16.04 with PHP 7.0 (recommended). Otherwise, installation instructions can be found <ahref="https://www.google.pl/?q=install+mbstring+(your+operating+system)">on Google</a> ;)</p>
<p>If you are using Web Hosting service, please contact the Hosting support for instruction on enabling mbstring.</p>';