diff --git a/error/missing-extensions.php b/error/missing-extensions.php
index 2abd950..fda3224 100644
--- a/error/missing-extensions.php
+++ b/error/missing-extensions.php
@@ -20,15 +20,14 @@
}
}
if (count($problems) > 0) {
- echo("The following PHP extensions are required by litebans-php but were not found:
");
- echo(implode("
", $problems));
$phpini = php_ini_loaded_file();
+ $problems = implode("
", $problems);
+ echo "The following PHP extensions are required by litebans-php but were not found:
$problems";
echo "
Please ensure that the correct php-intl and php-mysql packages are installed.";
echo "
After installation, these extensions can be enabled in php.ini.";
- echo "
php.ini location: " . $phpini . "";
- echo "
List of currently loaded extensions:
";
- echo(implode(', ', get_loaded_extensions()));
+ echo "
php.ini location: $phpini";
+ echo "
Hint: Open php.ini in a text editor, search for ;extension=intl.so and remove the ; character on that line.";
}
?>