diff --git a/include/modulecheck.php b/include/modulecheck.php index 10c75ee..5b806d8 100644 --- a/include/modulecheck.php +++ b/include/modulecheck.php @@ -17,12 +17,12 @@ if (!isPHPVersionSupported()) { die(showError($title, $text)); } -if (!extension_loaded("mbstring")) { - $title = 'MBString extension is missing'; +if (!function_exists("utf8_encode")) { + $title = 'Required function "utf8_encode" is missing'; $text = '

Required PHP extension: mbstring has not been found on the server.

-

Follow this instructions if you are using Ubuntu 16.04 with PHP 7.0 (recommended). Otherwise, installation instructions can be found on Google ;)

-

If you are using Web Hosting service, please contact the Hosting support for instruction on enabling mbstring.

'; +

For PHP 7.0 (recommended), install this package: sudo apt-get install php-xml php7.0-xml and restart apache. Otherwise, installation instructions can be found on Google ;)

+

If you are using Web Hosting service, please contact the Hosting support for instruction on enabling needed packages.

'; die(showError($title, $text)); }