Skip to content

Commit

Permalink
Merge pull request #2084 from omeka/increase-db-minimum-versions
Browse files Browse the repository at this point in the history
Increase DB minimum versions
  • Loading branch information
zerocrates authored Nov 30, 2023
2 parents 18fdc91 + 5738eac commit 183904e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ See the [user manual](https://omeka.org/s/docs/user-manual) for more information
### Requirements
* Linux
* [Apache](https://www.apache.org/) (with [AllowOverride](https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride) set to "All" and [mod_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) enabled)
* [MySQL](https://www.mysql.com/) 5.6.4+ (or [MariaDB](https://mariadb.org/) 10.0.5+)
* [MySQL](https://www.mysql.com/) 5.7.9+ (or [MariaDB](https://mariadb.org/) 10.2.6+)
* [PHP](https://www.php.net/) 7.4+ (latest stable version preferred, with [PDO](http://php.net/manual/en/intro.pdo.php), [pdo_mysql](http://php.net/manual/en/ref.pdo-mysql.php), and [xml](http://php.net/manual/en/intro.xml.php) extensions installed)

### Generating thumbnails
Expand Down
6 changes: 4 additions & 2 deletions application/src/Stdlib/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ class Environment

/**
* The MySQL minimum version
* @see https://dev.mysql.com/doc/relnotes/mysql/5.7/en/
*/
const MYSQL_MINIMUM_VERSION = '5.6.4';
const MYSQL_MINIMUM_VERSION = '5.7.9';

/**
* The MariaDB minimum version
* @see https://mariadb.com/kb/en/changes-improvements-in-mariadb-10-2/#list-of-all-mariadb-102-releases
*/
const MARIADB_MINIMUM_VERSION = '10.0.5';
const MARIADB_MINIMUM_VERSION = '10.2.6';

/**
* The required PHP extensions
Expand Down

0 comments on commit 183904e

Please sign in to comment.