Skip to content

Commit

Permalink
Update minimum PHP version to 7.4.0
Browse files Browse the repository at this point in the history
Fixes #32808
  • Loading branch information
dregad committed Nov 4, 2023
1 parent 9ef3394 commit c2ba77b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -43,8 +43,6 @@ php:
- 8.1
- 8.0
- 7.4
- 7.3
- 7.2

env:
- DB=mysql
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -24,7 +24,7 @@ Requirements
------------

* MySQL 5.5.35+, PostgreSQL 9.2+, or other supported database
* PHP 7.2.5+
* PHP 7.4.0+
* a webserver (e.g. Apache or IIS)

Please refer to section 2.2 in the administration guide for further details.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -3,7 +3,7 @@
"description": "Mantis Bug Tracker",
"type": "project",
"require": {
"php": "^7.2.5 || ^8.0",
"php": "^7.4 || ^8.0",
"ext-mbstring": "*",
"ext-json": "*",
"slim/slim": "^3.0",
Expand Down Expand Up @@ -36,7 +36,7 @@
],
"config": {
"platform": {
"php": "7.2.5"
"php": "7.4.0"
}
}
}
2 changes: 1 addition & 1 deletion core/constant_inc.php
Expand Up @@ -35,7 +35,7 @@
define( 'WARN', 2 );

# PHP-related constants
define( 'PHP_MIN_VERSION', '7.2.5' );
define( 'PHP_MIN_VERSION', '7.4.0' );
define( 'PHP_CLI', 0 );
define( 'PHP_CGI', 1 );

Expand Down
2 changes: 1 addition & 1 deletion docbook/Admin_Guide/en-US/Installation.xml
Expand Up @@ -340,7 +340,7 @@
<row>
<entry>PHP</entry>
<entry>PHP</entry>
<entry>7.2.5</entry>
<entry>7.4</entry>
<entry>8.0 or later</entry>
<entry>See above for PHP extensions</entry>
</row>
Expand Down

0 comments on commit c2ba77b

Please sign in to comment.