Skip to content

Commit

Permalink
Doc: update system requirements for 2.x
Browse files Browse the repository at this point in the history
Fixes #21841, #21965
  • Loading branch information
dregad committed Dec 5, 2016
1 parent 8a8bd92 commit b1a77d2
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 26 deletions.
4 changes: 4 additions & 0 deletions admin/check/check_database_inc.php
Expand Up @@ -183,6 +183,8 @@
$t_db_min_version = DB_MIN_VERSION_PGSQL;
} elseif( db_is_mssql() ) {
$t_db_min_version = DB_MIN_VERSION_MSSQL;
} elseif( db_is_oracle() ) {
$t_db_min_version = DB_MIN_VERSION_ORACLE;
} else {
$t_db_min_version = 0;
}
Expand Down Expand Up @@ -282,6 +284,8 @@
# Version support information
$t_versions = array(
# Version => EOL date
'9.6' => '2021-09-31',
'9.5' => '2021-01-31',
'9.4' => '2019-12-31',
'9.3' => '2018-09-30',
'9.2' => '2017-09-30',
Expand Down
2 changes: 0 additions & 2 deletions admin/install.php
Expand Up @@ -353,8 +353,6 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
print_test( 'Checking PHP support for database type', db_check_database_support( $f_db_type ), true, 'database is not supported by PHP. Check that it has been compiled into your server.' );

# ADOdb library version check
# PostgreSQL, Oracle and MSSQL require at least 5.19. MySQL should be fine
# with 5.10 but to simplify we align to the requirement of the others.
$t_adodb_version = substr( $ADODB_vers, 1, strpos( $ADODB_vers, ' ' ) - 1 );
print_test( 'Checking ADOdb Library version is at least ' . DB_MIN_VERSION_ADODB,
version_compare( $t_adodb_version, DB_MIN_VERSION_ADODB, '>=' ),
Expand Down
7 changes: 4 additions & 3 deletions core/constant_inc.php
Expand Up @@ -41,9 +41,10 @@
# installation
define( 'CONFIGURED_PASSWORD', '______' );
define( 'DB_MIN_VERSION_ADODB', '5.20.2' ); # For mssql, oracle and pgsql
define( 'DB_MIN_VERSION_MSSQL', '9.0.0' );
define( 'DB_MIN_VERSION_MYSQL', '5.0.8' ); # See #16584
define( 'DB_MIN_VERSION_PGSQL', '9.0' ); # Earliest supported version as of August 2014
define( 'DB_MIN_VERSION_MSSQL', '11.0.0' ); # MS SQL Server 2012
define( 'DB_MIN_VERSION_MYSQL', '5.5.35' ); # See #20431
define( 'DB_MIN_VERSION_PGSQL', '9.2' ); # Earliest supported version as of Nov 2016
define( 'DB_MIN_VERSION_ORACLE', '11.2' );

# error types
define( 'ERROR', E_USER_ERROR );
Expand Down
55 changes: 34 additions & 21 deletions docbook/Admin_Guide/en-US/Installation.xml
Expand Up @@ -168,7 +168,7 @@
<itemizedlist>
<listitem><para><emphasis>mandatory</emphasis>:
the extension for the RDBMS being used (
mysql/mysqli,
mysqli,
pgsql,
oci8,
sqlsrv
Expand Down Expand Up @@ -268,30 +268,44 @@
<tbody>
<row>
<entry morerows='4' valign='middle'>RDBMS</entry>
<entry>MySQL / MariaDB</entry>
<entry>5.0.8</entry>
<entry>5.5.x or above</entry>
<entry>PHP extension: mysqli (recommended) or mysql</entry>
<entry>MySQL</entry>
<entry>5.5.35</entry>
<entry>5.6 or above</entry>
<entry>PHP extension: mysqli</entry>
</row>
<row>
<entry>MariaDB</entry>
<entry>5.5.35</entry>
<entry>10.x or above</entry>
<entry>PHP extension: mysqli</entry>
</row>
<row>
<entry>PostgreSQL</entry>
<entry>7.0</entry>
<entry>9.x</entry>
<entry>9.2</entry>
<entry>9.2 or later</entry>
<entry>PHP extension: pgsql</entry>
</row>
<row>
<entry>MS SQL Server</entry>
<entry>2005</entry>
<entry>2005 or above</entry>
<entry>2012</entry>
<entry>2012 or later</entry>
<entry>PHP extension: sqlsrv</entry>
</row>
<row>
<entry>Oracle</entry>
<entry>8i</entry>
<entry>11gR2</entry>
<entry>11gR2 or later</entry>
<entry>PHP extension: oci8</entry>
</row>

<row>
<entry>PHP</entry>
<entry>PHP</entry>
<entry>5.5.x</entry>
<entry>7.0 or later</entry>
<entry>See above for PHP extensions</entry>
</row>

<row>
<entry morerows='3' valign='middle'>Web Server</entry>
<entry>Apache</entry>
Expand All @@ -313,22 +327,21 @@
</row>
<row>
<entry>IIS</entry>
<entry>6.0</entry>
<entry>7.x</entry>
<entry></entry>
</row>

<row>
<entry>PHP</entry>
<entry>PHP</entry>
<entry>5.3.2</entry>
<entry>5.5.x or above</entry>
<entry>See above for PHP extensions</entry>
<entry>7.5</entry>
<entry>8.0</entry>
<entry>Windows Server 2008 R2 SP1 or later</entry>
</row>
</tbody>
</tgroup>
</informaltable>

<para>Our minimum requirements are generally based on availability
of support for the underlying software by their respective
vendors.
In some cases, we do require a specific version because we
rely on a feature that is not available in older releases.
</para>

<warning>
<para>Running MantisBT with versions of the software
components lower than the minimum requirements listed
Expand Down

0 comments on commit b1a77d2

Please sign in to comment.