You are using old, unsupported PHP version.
' . 'Your PHP version: ' . PHP_VERSION . ', required PHP version: 5.5.0.
' . 'Please update your PHP installation and try again.
'; showError($title, $text); exit; } if (!function_exists("utf8_encode")) { showExtensionMissingError("xml"); exit; } if (!extension_loaded("json")) { showExtensionMissingError("json"); exit; } if (!extension_loaded("mbstring")) { showExtensionMissingError("mbstring"); exit; } if((fileperms(__DIR__ . '/../cache') & 0777) !== 0777) { $title = 'Cache directory is not writable'; $text = 'Please make sure that the cache
directory is fully readable, writable and executable.
Running: sudo chmod 777 -R ' . realpath(__DIR__ . '/../cache') . '
should fix the problem.
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); exit; } // FUNCTION function showExtensionMissingError($extension_name) { $title = 'Required extension "' . $extension_name . '" is missing'; $text = 'Required PHP extension ' . $extension_name . '
is missing or is not loaded.
Install it and restart your server. Usually running sudo apt-get install php-' . $extension_name . '
should be enough.
If you still get this error, try restarting your web server and php-fpm
service or just reboot your machine
If you are using Web Hosting service, please contact their support for instructions on enabling ' . $extension_name . '
extension