$issues = [];
$phpVersion = \PHP_VERSION;
- $neededPhpVersion = '7.2.24';
+ $neededPhpVersion = '8.1.2';
if (!\version_compare($phpVersion, $neededPhpVersion, '>=')) {
if (WCF::getLanguage()->getFixedLanguageCode() === 'de') {
$title = 'Veraltete PHP-Version';
public $phpMemoryLimit = 128;
public $phpVersions = [
- 'minimum' => '7.2.24',
- 'deprecated' => ['7.2', '7.3'],
- 'sufficient' => ['7.4'],
- 'recommended' => ['8.0', '8.1'],
+ 'minimum' => '8.1.2',
+ 'deprecated' => [],
+ 'sufficient' => [],
+ 'recommended' => ['8.1'],
];
public $foreignKeys = [
// php version
$system['phpVersion']['value'] = \PHP_VERSION;
$comparePhpVersion = \preg_replace('/^(\d+\.\d+\.\d+).*$/', '\\1', $system['phpVersion']['value']);
- $system['phpVersion']['result'] = (\version_compare($comparePhpVersion, '7.2.24') >= 0);
+ $system['phpVersion']['result'] = (\version_compare($comparePhpVersion, '8.1.2') >= 0);
$system['x64']['result'] = \PHP_INT_SIZE == 8;
<div class="row rowColGap formGrid">
<dl class="col-xs-12 col-md-6">
<dt>{lang}wcf.global.systemRequirements.element.required{/lang}</dt>
- <dd>7.2.24</dd>
+ <dd>8.1.2</dd>
</dl>
<dl class="col-xs-12 col-md-6">
<?php
const WSC_SRT_VERSION = '5.4.0';
$requiredExtensions = ['ctype', 'dom', 'exif', 'json', 'hash', 'libxml', 'mbstring', 'pcre', 'pdo', 'pdo_mysql', 'zlib'];
-$requiredPHPVersion = '7.2.24';
+$requiredPHPVersion = '8.1.2';
$phrases = [
'php_requirements' => [
'de' => 'PHP',