= 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.

'; die(showError($title, $text)); } 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.

'; die(showError($title, $text)); } try { require_once __DIR__ . "/../lib/phpfastcache/autoload.php"; \phpFastCache\CacheManager::Files(); } catch (\phpFastCache\Exceptions\phpFastCacheDriverException $e) { $title = 'Directory is not writable'; $text = '

Please make sure that the whole website directory including subdirectories is fully writable.

'; die(showError($title, $text)); } 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.

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

Error