mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Make PHP8 the minimum required version
This commit is contained in:
@@ -41,7 +41,7 @@ https://demo.wavelog.org
|
||||
### Recommended: Classic-LAMP-Stack:
|
||||
* Linux based Operating System (Windows stack may also work)
|
||||
* Apache (Nginx should work)
|
||||
* PHP Version 7.4 up to PHP 8.2 (PHP 8.3. in friendly Usertest)
|
||||
* PHP Version 8.0 up to PHP 8.2 (PHP 8.3. in friendly Usertest)
|
||||
* MySQL or MariaDB (MySQL 5.7 or higher // MariaDB 10.1 or higher)
|
||||
|
||||
### Alternative - Easy start with prebuilt Docker-image:
|
||||
|
||||
@@ -108,7 +108,7 @@ function getDistance($distance) {
|
||||
|
||||
<?php if (version_compare(PHP_VERSION, '7.4.0') <= 0) { ?>
|
||||
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||
<?= __("You need to upgrade your PHP version. Minimum version is 7.4. Your version is") . ' ' . PHP_VERSION . '.';?>
|
||||
<?= __("You need to upgrade your PHP version. Minimum version is 8.0. Your version is") . ' ' . PHP_VERSION . '.';?>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@@ -18,7 +18,7 @@ $logfile = '../application/logs/installer_debug.log';
|
||||
|
||||
// Wanted Pre-Check Parameters
|
||||
// PHP
|
||||
$min_php_version = '7.4.0'; // below this version is no install possible
|
||||
$min_php_version = '8.0.0'; // below this version is no install possible
|
||||
$min_php_version_warning = '8.0.0'; // below this version some features may not available (e.g. Cronmanager)
|
||||
$max_execution_time = 600; // Seconds
|
||||
$upload_max_filesize = 8; // Megabyte
|
||||
|
||||
Reference in New Issue
Block a user