From 921e26598f5e6b22f3a8ed310de566353f137c43 Mon Sep 17 00:00:00 2001 From: addshore Date: Mon, 24 Sep 2018 09:25:53 +0100 Subject: [PATCH] composer.json, require ext-fileinfo PHPVersionCheck requires fileinfo be installed for mime_content_type Change-Id: Iea7d2c7842c770e77c05265d4f4b08b17f9ab71f (cherry picked from commit 139bf5bc7b66c83bd5a27d4fc6806ddaebe3f188) --- RELEASE-NOTES-1.31 | 3 ++- composer.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 0af2402cf1..20dce5a5b4 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -485,7 +485,8 @@ changes to languages because of Phabricator reports. == Compatibility == MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is supported, it is generally advised to use PHP 7.0.0 or later for long term -support. +support. MediaWiki requires that the mbstring, xml, ctype, json, iconv and +fileinfo PHP extensions are loaded to work. MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, but support for them is somewhat less mature. There is experimental support for diff --git a/composer.json b/composer.json index 1332406276..753518340f 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,7 @@ "composer/semver": "1.4.2", "cssjanus/cssjanus": "1.2.0", "ext-ctype": "*", + "ext-fileinfo": "*", "ext-iconv": "*", "ext-json": "*", "ext-mbstring": "*", @@ -71,7 +72,6 @@ "suggest": { "ext-apc": "Local data and opcode cache", "ext-curl": "Improved http communication abilities", - "ext-fileinfo": "Improved mime magic detection", "ext-intl": "ICU integration", "ext-wikidiff2": "Diff accelerator", "monolog/monolog": "Flexible debug logging system", -- 2.20.1