Require PHP 8.2 (#5444)
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled

This commit is contained in:
Eric Lippmann 2026-01-07 13:37:54 +01:00 committed by GitHub
commit cda8fc28a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ thoroughly.
* [Icinga 2](https://icinga.com/docs/icinga-2) and [Icinga DB](https://icinga.com/docs/icinga-db) to
monitor your infrastructure
* A web server, e.g. Apache or Nginx
* PHP version ≥ 7.2
* PHP version ≥ 8.2
* MariaDB
### Optional Requirements
@ -289,7 +289,7 @@ yum install icingaweb2 icingacli
## Install the Web Server <a id="install-the-web-server"></a>
Ensure that you have a web server with PHP installed before proceeding,
such as Apache or Nginx with PHP version ≥ 7.2. Depending on your operating system,
such as Apache or Nginx with PHP version ≥ 8.2. Depending on your operating system,
you may need to install and configure the web server separately.
An Apache configuration file to serve Icinga Web is already installed.
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:
* [Icinga 2](https://github.com/Icinga/icinga2) and [Icinga DB](https://github.com/Icinga/icingadb) to
monitor your infrastructure
* A web server, e.g. Apache or Nginx
* PHP version ≥ 7.2
* PHP version ≥ 8.2
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (≥ 0.14.2)
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (≥ 0.12)
* The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml

View file

@ -584,11 +584,11 @@ class WebWizard extends Wizard implements SetupWizard
$set = new RequirementSet();
$set->add(new PhpVersionRequirement(array(
'condition' => array('>=', '7.2'),
'condition' => array('>=', '8.2'),
'description' => sprintf(mt(
'setup',
'Running Icinga Web 2 requires PHP version %s.'
), '7.2')
), '8.2')
)));
$set->add(new OSRequirement(array(