diff --git a/install/index.php b/install/index.php index 362cab803..6452b0efb 100644 --- a/install/index.php +++ b/install/index.php @@ -9,21 +9,46 @@ ['condition' => isExtensionInstalled('curl')], + 'php-mysql' => ['condition' => isExtensionInstalled('mysqli')], + 'php-mbstring' => ['condition' => isExtensionInstalled('mbstring')], + 'php-xml' => ['condition' => isExtensionInstalled('xml')], + 'php-zip' => ['condition' => isExtensionInstalled('zip')], +]; // MariaDB / MySQL $mariadb_version = 10.1; $mysql_version = 5.7; +// ######################################################### END OF PRECONFIGURATION + + + + + +// Function to check if a PHP extension is installed +function isExtensionInstalled($extensionName) +{ + return in_array($extensionName, get_loaded_extensions()); +} function delDir($dir) { @@ -170,75 +195,45 @@ if ($_POST && isset($_POST['submit'])) {
PHP Modules
+| Version (min. 7.4) | +Version | +- + | |
| php-curl | -- - Installed - - Not Installed - - | -||
| php-mysql | -- - Installed - - Not Installed - - | -||
| php-mbstring | -- - Installed - - Not Installed - - | -||
| php-xml | -- - Installed - - Not Installed - - | -||
| php-zip | -- - Installed - - Not Installed - - | -||
| + | + | + + + + | +
MySQL / MariaDB
You can test your MySQL/MariaDB Version in Step 4
+You can test your MySQL/MariaDB Version in Step 4
Note: Everything is good or not
+All Checks are OK. You can continue.
+Some Checks have failed!
+Check your PHP settings and install missing modules if necessary.
+After that you have to restart your webserver and start the installer again.
+