= 50500; } if (!isPHPVersionSupported()) { $title = 'Unsupported PHP version'; $text = '

You are using old, unsupported PHP version.

Your PHP version: ' . phpversion() . ', required PHP version: 5.5.0.

Please update your PHP installation and try again.

'; showError($title, $text); die(); } if (!function_exists("utf8_encode")) { $title = 'Required function "utf8_encode" is missing'; $text = '

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

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.

'; showError($title, $text); die(); } if(!is_writable(__DIR__ . '/../cache')) { $title = 'Cache directory is not writable'; $text = '

Please make sure that the cache directory is fully writable.

'; showError($title, $text); die(); } if (!file_exists(__DIR__ . "/../config/config.php")) { $title = 'config.php does not exists'; $text = '

Please go into the directory config and rename config.template.php to config.php.

Edit the new file and tweak it to suite your needs.

'; showError($title, $text); die(); } // FUNCTION function showError($title, $text) { ?> <?php echo $title; ?>

Error