Skip to content

Commit cda8fc2

Browse files
authored
Require PHP 8.2 (#5444)
2 parents 2597297 + 23288ce commit cda8fc2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/02-Installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ thoroughly.
3535
* [Icinga 2](https://icinga.com/docs/icinga-2) and [Icinga DB](https://icinga.com/docs/icinga-db) to
3636
monitor your infrastructure
3737
* A web server, e.g. Apache or Nginx
38-
* PHP version ≥ 7.2
38+
* PHP version ≥ 8.2
3939
* MariaDB
4040

4141
### Optional Requirements
@@ -289,7 +289,7 @@ yum install icingaweb2 icingacli
289289
## Install the Web Server <a id="install-the-web-server"></a>
290290

291291
Ensure that you have a web server with PHP installed before proceeding,
292-
such as Apache or Nginx with PHP version ≥ 7.2. Depending on your operating system,
292+
such as Apache or Nginx with PHP version ≥ 8.2. Depending on your operating system,
293293
you may need to install and configure the web server separately.
294294
An Apache configuration file to serve Icinga Web is already installed.
295295
If you want to use Nginx, you must manually create a configuration file using the following command.
@@ -398,7 +398,7 @@ You will need to install certain dependencies depending on your setup:
398398
* [Icinga 2](https://github.com/Icinga/icinga2) and [Icinga DB](https://github.com/Icinga/icingadb) to
399399
monitor your infrastructure
400400
* A web server, e.g. Apache or Nginx
401-
* PHP version ≥ 7.2
401+
* PHP version ≥ 8.2
402402
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (≥ 0.14.2)
403403
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (≥ 0.12)
404404
* The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml

modules/setup/library/Setup/WebWizard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,11 @@ public function getRequirements($skipModules = false)
584584
$set = new RequirementSet();
585585

586586
$set->add(new PhpVersionRequirement(array(
587-
'condition' => array('>=', '7.2'),
587+
'condition' => array('>=', '8.2'),
588588
'description' => sprintf(mt(
589589
'setup',
590590
'Running Icinga Web 2 requires PHP version %s.'
591-
), '7.2')
591+
), '8.2')
592592
)));
593593

594594
$set->add(new OSRequirement(array(

0 commit comments

Comments
 (0)