diff --git a/inc/common.php b/inc/common.php index 84ae248..3a68eb8 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1,4 +1,5 @@ ". - "If you already installed PHP8 but are still seeing this error, then it means ". - "apache/nginx/.. is loading an older PHP version. Eg. on Debian/Ubuntu you need ". - "apt-get install libapache2-mod-php8.2 (or a similar version) and ". - "apt-get remove libapache2-mod-php7.4 (or a similar version). ". - "You may also need to choose again the PHP module to load in apache via a2enmod php8.2"); + die(sprintf(__('requirements_php_version'), PHP_VERSION)); + } $loaded_extensions = get_loaded_extensions(); @@ -27,7 +24,7 @@ function check_requirements() if (count($missing_extensions) > 0) { - $text = "The following PHP module(s) need to be loaded:
\n