Update requirements for PHP 8.1
This commit is contained in:
parent
38103bed83
commit
d63f645bd8
|
@ -23,7 +23,7 @@ $modReason = [];
|
|||
|
||||
if (isset($requiredVendor, $requiredProject) && $requiredVendor && $requiredProject) {
|
||||
// TODO: I don't like this, can we define requirements somewhere else?
|
||||
$coreDeps = ['icinga-php-library' => '>= 0.8', 'icinga-php-thirdparty' => '>= 0.10'];
|
||||
$coreDeps = ['icinga-php-library' => '>= 0.9', 'icinga-php-thirdparty' => '>= 0.11'];
|
||||
|
||||
foreach ($coreDeps as $libraryName => $requiredVersion) {
|
||||
if (! $libraries->has($libraryName)) {
|
||||
|
|
|
@ -388,8 +388,8 @@ You will need to install certain dependencies depending on your setup:
|
|||
* [Icinga 2](https://icinga.com/products/icinga-2/) with the IDO database backend (MySQL or PostgreSQL)
|
||||
* A web server, e.g. Apache or Nginx
|
||||
* PHP version >= 7.2
|
||||
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.8)
|
||||
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.10)
|
||||
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.9)
|
||||
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.11)
|
||||
* The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml
|
||||
* For exports to PDF also the following PHP modules are required: mbstring, GD, Imagick
|
||||
* LDAP PHP library when using Active Directory or LDAP for authentication
|
||||
|
|
|
@ -586,7 +586,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
)));
|
||||
|
||||
$set->add(new WebLibraryRequirement(array(
|
||||
'condition' => ['icinga-php-library', '>=', '0.8.0'],
|
||||
'condition' => ['icinga-php-library', '>=', '0.9.0'],
|
||||
'alias' => 'Icinga PHP library',
|
||||
'description' => mt(
|
||||
'setup',
|
||||
|
@ -595,7 +595,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
)));
|
||||
|
||||
$set->add(new WebLibraryRequirement(array(
|
||||
'condition' => ['icinga-php-thirdparty', '>=', '0.10.0'],
|
||||
'condition' => ['icinga-php-thirdparty', '>=', '0.11.0'],
|
||||
'alias' => 'Icinga PHP Thirdparty',
|
||||
'description' => mt(
|
||||
'setup',
|
||||
|
|
Loading…
Reference in New Issue